Re: [PHP] Stripslashes question.

2001-09-11 Thread Christian Reiniger
On Monday 10 September 2001 23:57, Sean C. McCarthy wrote: > Hi, > > Didn't help. I tried it before that is why I tried with addcslashes. Not addcslashes. addslashes. Note the missing "c" -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) Nothing is more dangerous than an idea if i

Re: [PHP] Stripslashes question.

2001-09-10 Thread Sean C. McCarthy
Hi, Didn't help. I tried it before that is why I tried with addcslashes. What I have done so far is : I have cmp'ed the file before adding slashes and after and it seems that it is eating up the \. Like Pñ\#as renders as Pñ#as after stripingslashes but in the DB is Pñ\\#as. As far as I know it

Re: [PHP] Stripslashes question.

2001-09-10 Thread Alexander Skwar
So sprach »Sean C. McCarthy« am 2001-09-10 um 22:42:51 +0100 : > Hi all, > > What will be the way to convert binary information into a string which > will get into an SQL query for MySQL? I tried stripcslashes but I got > stucked with it. Any help? Wrong direction :) addslashes($binary) will en

Re: [PHP] Stripslashes question.

2001-09-10 Thread Jason Bell
try addslashes instead. You might have better luck. - Original Message - From: "Sean C. McCarthy" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Monday, September 10, 2001 2:42 PM Subject: [PHP] Stripslashes question. > Hi all, > > What will be the way to conver