explode
| From: | Richard Kurth | Date: | Mon, 25 Jun 2001 02:14:53 +0000 |
| Subject: | explode | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55076@lists.php.net to get a copy of this message | ||
Question about explode
this work just perfect
$name="what+ever";
$name1=explode("+",$name);
$fname=$name1[0] ; this has what
$lname=$name1[0] ; this has ever
But if I pass the info from another page like this
<a href="whatever.php?name=what+ever">test</a>
$name1=explode("+",$name);
$fname=$name1[0] ; this has what ever
$lname=$name1[0] ; this has nothing in it
$fname has both names in it
How come I get this it does not make since
Best regards,
Richard
mailto:rkurth@pacifier.com