Can someone tell me why this doesn't work?

$home_street = ereg_replace (" " , "+" , $home_street);

The input is "123 happy trail"
I need the output to be "123+happy+trail"

Thanks,
Clayton

Reply via email to