简体   繁体   中英

Giving MYSQL error again and again

I have hosted a new head tail gaming site. But I continously get this error message on my Index and History page.

Index Page:Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a1906451/public_html/index.php on line 233

History Page:Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a1906451/public_html/history.php on line 106

Any solution friends? Please help me out.

The argument to mysql_num_rows() expects a valid MySQL result. Most likely, you're ignoring an error from mysql_query() or trying to look at a query that doesn't return a usable result object.

在第233行的index.php和history.php ind第106行@mysql_num_rows mysql_num_rows更改为@mysql_num_rows

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM