Re: confused about logic
| From: | Chris Boget | Date: | Fri, 19 Mar 2004 17:09:57 +0000 |
| Subject: | Re: confused about logic | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180983@lists.php.net to get a copy of this message | ||
> Thanks for the time John.
> Chris's did the trick. I'll keep yours on hand in case I do happen to
> run into problems.
> I DO appreciate your help.
John's solution is actually technically better than mine in that it's only
using
one function call ("str_replace()") and as such only one possible point of
failure whereas mine is using 2 ("explode()" and "implode()") with 2
possible
points of failure.
This is all totally academic but am just pointing out...
Chris