Try to use explode and keep the second element of the array
Just a quick thought ......
----- Original Message -----
From: Jacky <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED] then I would like to
break that and take only foo.com bit to use for navigation.
How can I do that?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
--
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]