Please click on 1-2 Ads to keep this website's Study Material FREE and regularly Updated.
Program 23: Write a PHP program to extract the user name from the following email ID.
<!DOCTYPE html> <html> <head> <title>PHP Programs TutorialDuniya.com</title> </head> <body> <?php $mailid = '[email protected]'; $user = strstr($mailid, '@', true); echo $user . "\n"; ?> </body> </html>
If you have any suggestion or found any error in the above program, then do let us know at [email protected] or just comment below.