$_GET and spaces
View Single Post
05-30-2008, 06:33 PM
Join Date: Apr 2008
Location: Nevada, USA
Mmk, would this work?
$gt = str_replace(" ","-",$_GET['gt']);
I also forgot to mention I'm using mod_rewrite and that the actual URL is
I posted working links in my post.
Thanks delayedinsanity, str_replace worked perfect. I ended up using this:
$gt = str_replace(" ","+",$_GET['gt']);
Last edited by h0ly lag : 05-30-2008 at
View Public Profile
Send a private message to h0ly lag
Visit h0ly lag's homepage!
Find More Posts by h0ly lag