View Single Post
Old 07-22-2002, 09:16 PM   #9 (permalink)
Geetazz
Registered User
 
Join Date: Jun 2002
Posts: 12
Geetazz is on a distinguished road
Send a message via AIM to Geetazz
little confused about email stuff

PHP Code:
$query "SELECT username, kennel, dspoints, 
job, email FROM member"

$rows mysql_fetch_array($result);
$result mysql_query($query);
if(!
ereg("^.+@...+$",$email));
echo 
"Your username is $row[username]<br>
*Your kennel name is $row[kennel]<br>
You have $row[dspoints]<br>
Your job is $row[job]<br>
*Your email is $row[email]<p>"

I have changed this part about 15 times and the only thing that don't work is the stuff to do with email. Where it says your email is there is a problem. But whenever I change that there is something wrong with the if() thing.
Geetazz is offline   Reply With Quote