Re: split string value again

From: Date: Thu, 29 Mar 2001 09:48:15 +0000
Subject: Re: split string value again
Groups: php.general 
Request: Send a blank email to php-general+get-46058@lists.php.net to get a copy of this message
"try again" after 20 minutes...give people some time to respond!...anyways, you can explode the variable... list($junk,$domain) = explode("@",$email); checkout http://www.php.net/explode you'll use it a lot.... -jack ----- Original Message ----- From: "Jacky" <jacky@activelifestyle.com> Date: Thursday, March 29, 2001 5:52 pm 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" >

« previous php.general (#46058) next »