$rs = mysql_query($sql, $conn) or die("Query has Failed : $sql");mysql_query($sql, $conn) or die("Query has Failed : $sql");
但它似乎在大多数情况下都工作得很好。只是偶尔它不起作用。
if(mysql_num_rows($result))echo "no match found!";它抛出了一个错误- Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\Hosting\6448289\html\includes\getQuestion.php on line 72