RE: [PHP] split string value again
| From: | Martin Cabrera Diaubalick | Date: | Thu, 29 Mar 2001 09:47:52 +0000 |
| Subject: | RE: [PHP] split string value again | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46057@lists.php.net to get a copy of this message | ||
Try to use explode and keep the second element of the array
Just a quick thought ......
----- Original Message -----
From: Jacky <jacky@activelifestyle.com>
To: <php-general@lists.php.net>
Sent: Friday, March 30, 2001 12:52 AM
Subject: [PHP] split string value again
Hi again
have to try again after I have not recieved any advice, I have a vairable
that stores email address value. I need to break it so that I will only get
the dmain name bit to store in another variable so that I can redirect user
to that domain, like if user email is test@foo.com. then I would like to
break that and take only foo.com bit to use for navigation.
How can I do that?
Jack
jacky@activelifestyle.com
"There is nothing more rewarding than reaching the goal you set for
yourself"