Hello,
How do i get the first word(first name) and email from the following line?
I have....
$fname=ereg('$',$line);
$email=ereg('@.$',$line);
but those are incorrect
Steve Yates General Manager steve@springer.com Personnel Inc. 11580 sCentral Ave., Suite 110 Chino CA 91710 909-618-5555 50-99 Other Business Services
(the above is all on one line)
what would the correct ereg statements be?
Thanks,
Abe