Jump to content

[SOLVED] Splitting Up Posted Variables


Daleeburg

Recommended Posts

So here is what i am attempting to do, is this possible and if so, how?

 

I would like my user to type in their email in the registration information and then have the php split the email address at the @ so it would look like this

 

[email protected]

 

$email1 = user

$email2 = provider.com

 

also how would i reassemble it

? $email = $email1.'@'.$email2  ?

 

thanks

~d

Link to comment
https://forums.phpfreaks.com/topic/43842-solved-splitting-up-posted-variables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.