View Single Post
  #1  
Old 10-17-2011, 02:13 PM
Flametail Flametail is offline
Member
 
Join Date: Oct 2011
Posts: 5
Gender: Male
Credits: 1,483
Flametail is on a distinguished road
Default MySQL Query Empty on default install? (i.e. No edits.)

Query was empty.

KK, I was running into this wall of errors...

Code:
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 1623

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 61

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 66

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 1645

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 424

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 560

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\inc\functions.php on line 564

Warning: file_get_contents(templates//template.html) [function.file-get-contents]: failed to open stream: No such file or directory in C:\xampp\htdocs\inc\functions.php on line 1691
So I tried an old php trick I know....

Code:
$resultjjj = mysql_query($result) or die($result."<br/><br/>".mysql_error());
And it said the mysql error was that the query was empty......

Help?
Reply With Quote