preg

  1. Jangga

    How to split a string in php twice.... Help

    Hello guys, I would love to split a string(an email) such that I would be able to get the 'gmail' or 'yahoo' or 'outlook' out of it What I got now: $geta=explode('.', [email protected]); $getb=explode('@', $geta["0"]); echo $get["1"]: But it ain't working
Back
Top