|
Posted by Syl on 06/30/06 14:55
Hi group -
I have a variable which is created from an input form.
After concatenating the input I want, I end up with a variable named
$all which looks like this :
delegatecountry,delegatefname,delegatelname,delegatebname
I want to take this string and replace all the commas with this :
</th><th>
So - I tried this :
$inside="</th><th>";
$newall = str_replace($inside, ",", $all);
But - it doesn't work.
http://ca3.php.net/str_replace
What am I doing wrong ?
Navigation:
[Reply to this message]
|