My name is Jim and I am a newbie... 😉
I have an issue with the IF statement. Here is my code...
//begin company name check
$company_test1 = "SELECT * FROM walkout where Company = '$new_company'";
$res = mysql_query($company_test1, $link);
$rows = mysql_num_rows($res);
if ( $rows > 1 ) {
$company_test2 = "SELECT * FROM walkout where Address = '$A_Address'";
$res = mysql_query($company_test2, $link);
} else {
//end company name check
My problem is that I want the script to continue after passing the second test. I am sure that I am missing the obvious.
Any help would be appreciated!
jim