Hi from newbi. i in need of your help. i have a $var="one two three four"; i need to replace spaces with plus (+) so it look like "one+two+tree+four"; any idea how to do it? thank you all
$var = ereg_repalace('[ ]+', '+', strtolower($var));
well how did you replace the word Three with Tree? 🙂
ye, ye magic touch 🙂 numbers to trees, is that what we all want?