Hi,
I have a problem with the script below. works great when an email match is present, but I get an error if no such email exists. Being a newbie to PHP can someone put me right to the extra code or syntax change required and simple explanation would be appreciated.
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 34 in /home/ on line 89
line88.... $result = mysql_query("SELECT user_id from AUCTION_invitedbuyerslist WHERE list_name = '$intro_email'")or exit(mysql_error());
line89.... $intro_id = mysql_result($result,0);
Many thanks in anticipation
John
I have a problem with the script below. works great when an email match is present, but I get an error if no such email exists. Being a newbie to PHP can someone put me right to the extra code or syntax change required and simple explanation would be appreciated.
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 34 in /home/ on line 89
line88.... $result = mysql_query("SELECT user_id from AUCTION_invitedbuyerslist WHERE list_name = '$intro_email'")or exit(mysql_error());
line89.... $intro_id = mysql_result($result,0);
Many thanks in anticipation
John