[PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Craig
Hey all, Im hoping someone can shed some light on this for me: Im running PHP 4.31 on RH Advanced Server 2.1 I am connecting, to M$SQL Server 2000 using FreeTDS -- with Sybase support, and Im stumped on 1 thing: CODE:

Re: [PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Jyry Kuukkanen
On Thu, 3 Apr 2003, Craig wrote: Hey all, Im hoping someone can shed some light on this for me: Im running PHP 4.31 on RH Advanced Server 2.1 I am connecting, to M$SQL Server 2000 using FreeTDS -- with Sybase support, and Im stumped on 1 thing: CODE:

Re: [PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Lowell Allen
From: Craig [EMAIL PROTECTED] Im running PHP 4.31 on RH Advanced Server 2.1 I am connecting, to M$SQL Server 2000 using FreeTDS -- with Sybase support, and Im stumped on 1 thing: [snip] The above code works fine, except when one of the fields e.g client_name - Has a quoted string or

Re: [PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Michael Sims
On Thu, 3 Apr 2003 12:17:50 +0100, you wrote: Has anyone experienced this, and if so know of a possible solution?? I have used addslashes() etc but still no joy. In addition to what the other respondents have said, you can set the INI setting magic_quotes_sybase to 1, and this will change