mysql_num_rows, Ah.. now lets see..
i did try it.. returns how many rows, in this case, in the query.. so i figure... there will be nothing, 0, null, nada if there is a result to the query... correct?
so...
if(mysql_num_rows (query command here)){
// query found a duplicate
echo "blah blah you had a duplicate";
}
..or..
$query_result = query command here
if(mysql_num_rows ($query_result)){
// query found a duplicate
echo "blah blah you had a duplicate";
}
Actually.. i think they're both the same thing..
But is that the correct syntax to use?
If so, i have and it just lies and say's there's no duplicate, when i know there is.
I'll look further into the num_rows command.. But if you can spoon-feed the information i'll be happy.
Thank again for all help.
You know you want to tell me more..