Passing a Form parameter to PHP

2003-03-19 Thread Chris Banford
Hi list, Does anyone know how I can prevent the following string: VALUES (Null, 'yyy', '', 'yyy', '', '', '', '', '') from being escaped by php to: VALUES (Null, \'yyy\', \'\', \'yyy\', \'\', \'\', \'\', \'\', \'\') when its being passed as a HttpFormData parameter? Somewhere between

Re: Passing a Form parameter to PHP

2003-03-19 Thread Friedger
PHP does it automatically. You have to replace \' by ' using something like $queryrest = str_replace(\', ', $query); See also http://groups.yahoo.com/group/curlbreaker-l/message/708 Friedger *** To unsubscribe from this list, send a mail to: