This Warning does not know how to solve mysql_fetch_array () expectsparameter1toberesource Warning: mysql_fetch_array () expects parameter 1 to be resource, boolean given in/data/multiserv/users/983917/projects/2245004/www/view. php on line 42
This warning is not reported when debugging on the local server. uploading to the remote server appears... and I have no permission to modify the configuration of the remote server.
View. php
PHP
| Store name |
|
Phone Number |
|
Diners rating (0 ~ 10) |
"; Echo" rating: ". $ result5 ['count'];?> |
Menu |
"; $ I ++;} while ($ result3 = mysql_fetch_array ($ result2) ;}?> |
Remarks |
|
Rating of diners |
"; $ I ++;} while ($ result4 = mysql_fetch_array ($ commentquery, $ mylink);} else {echo" no comment, we look forward to your participation ";}?> |
To the store Rating |
|
"> Previous //"> Next
Reply to discussion (solution)
This warning has not been reported for locally debugged apache display_error = on.
Which line is 42? If you add an or die, a message is displayed.
Mysql_query ($ comment, $ mylink) or die (mysql_error ());
$ Result5 = mysql_fetch_array ($ levelquery );
$ Result4 = mysql_fetch_array ($ commentquery, $ mylink );
$ Result3 = mysql_fetch_array ($ result2 );
Errors are reported for mysql_fetch_array.
Which line is 42? If you add an or die, a message is displayed.
Mysql_query ($ comment, $ mylink) or die (mysql_error ());
Post the error message changed to #2
Include ("conn. php"); // add below this line
Echo $ mylink; // Paste the result
I suspect the database is not connected successfully
Resource id #1 does not know what it represents include ("conn. php"); // add it below this line
Echo $ mylink; // Paste the result
I suspect the database is not connected successfully
#2 is obtained from the original code .. I don't quite understand what you mean by posting the error message after #2.
I forgot to synchronize the database... the resource id #1 doesn't know what the reference to the reply on the 5th floor is:
Include ("conn. php"); // add below this line
Echo $ mylink; // Paste the result
I suspect the database is not connected successfully
This East I still has no sister ue