The mysql_query is returning a boolean value meaning the sql query is probably failing and you’re getting a false returned rather than a mysql resource.
Have you checked your query?
More Related Contents:
- What to put in database columns when creating registration/login system? (xampp)
- drop down menu using php and mysql [closed]
- php code for multiple search box after connecting to mysql [closed]
- mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc… expects parameter 1 to be resource
- How to properly set up a PDO connection
- Using PHP 5.5’s password_hash and password_verify function
- Search with comma-separated value mysql
- How to do this in Laravel, subquery where in
- I have an array of integers, how do I use each one in a mysql query (in php)? [duplicate]
- Levenshtein: MySQL + PHP
- How can I loop through a MySQL result set more than once using the mysql_* functions?
- PHP MySQLI Prevent SQL Injection [duplicate]
- mysql PDO how to bind LIKE
- How to test if a MySQL query was successful in modifying database table data?
- How do i “echo” a “Resource id #6” from a MySql response in PHP?
- mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in [duplicate]
- Does mysql_real_escape_string() FULLY protect against SQL injection?
- How do I give each registered user their own url using PHP?
- MySQL “NOT IN” query 3 tables
- Recursive categories with a single query?
- How do I loop through a MySQL query via PDO in PHP?
- IP address storing in MySQL database using PHP [duplicate]
- Getting time difference between two times in PHP [duplicate]
- Using LIKE in bindParam for a MySQL PDO Query [duplicate]
- Is there a way to show a WHERE clause just for one field in MySQL?
- Password_Hash not working on my PHP login
- Select last 20 order by ascending – PHP/MySQL
- Formatting an SQL timestamp with PHP
- mysqli – fetch_Array error call to a member function fetch_array() on a non-object mysqli [duplicate]
- Finding free blocks of time in mysql and php?