On Thursday 05 December 2002 16:43, Hugh Danaher wrote: > Great to hear it works! > I'd still consider using addslashes and the only way I've gotten it to work > is to write them in like the following: > url='".addslashes($url)."' > Looks messy but works.
Messy indeed ;) Why not $url = addslashes($url) beforehand THEN use it to construct the query? > Oh, and stripslashes on the output too. No need for stripslashes() when _retrieving_ from the db. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* People will do tomorrow what they did today because that is what they did yesterday. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php