Forum Moderators: coopster
e.g. 2500 Vista Ridge Dr
with 2500+Vista+Ridge+Dr
I have read and tried different things, but have been unsuccessful getting the code right. If $address is my variable I want to replace the spaces in, wouldn't it be something like this?
str_replace(' ','+',$address);
$address=$row["address"];
Thanks in advance for any help.
$address=$row["address"]str_replace(' ','+',$address);
Any ideas?