Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Scott Hurring
or, more appropriately, use the database-specific escape function... for mysql: http://www.php.net/manual/en/function.mysql-escape-string.php http://www.php.net/manual/en/function.mysql-real-escape-string.php -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Martin Cliffo

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Anil Garg
uot;,... and \ ? > > > > Note: putting a \\ to add \ doesnt help coz for one time it works one i > open > > the entry in edit mode again i have to put \ before all the \. > > please help > > regards > > anil > > > > - Original Message - >

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Anil Garg
"Martin Clifford" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 12:12 PM Subject: Re: [PHP] ' giving problem while inserting in table. > You DON'T have to use stripslashes() on data coming out of a database. The &

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread 1LT John W. Holmes
ly 12, 2002 10:49 AM Subject: Re: [PHP] ' giving problem while inserting in table. Use addslashes() on ALL strings before inserting them into your database. Then, on your frontend, extract the data and use stripslashes() on all strings. Hope to help! Martin Clifford Homepage: http://www.

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Martin Clifford
Use addslashes() on ALL strings before inserting them into your database. Then, on your frontend, extract the data and use stripslashes() on all strings. Hope to help! Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ >>> "Anil