[thelist] PHP encoding &s in a URL

Matt King evolt at magnetinternet.com
Mon Sep 1 13:26:27 CDT 2003


> What's the correct way to encode that sucker?!

urlencode it for the URL, then take the querystring value and urldecode it
before you use it in your SQL query...

-- 
Matt King
magnet | internet
http://www.magnetinternet.com


More information about the thelist mailing list