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:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]