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,d elegatebname
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($in side, ",", $all);
But - it doesn't work.
What am I doing wrong ?
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,d elegatebname
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($in side, ",", $all);
But - it doesn't work.
What am I doing wrong ?
Comment