$sql variable causes mysql_fetch_array() expects parameter 1 to be resource
1238
mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource
59177
The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
107510
PDO bindParam vs. execute
106227
Using column alias in WHERE clause of MySQL query produces an error
61449
How do I execute PHP that is stored in a MySQL database?
15900
How to add MySQL to $PATH variable to resolve "mysql: command not found"?
121058
SQL LIKE query failing - fatal error in prepared statement
12399
How do you use script variables in psql?
103874
Warning: mysqli_stmt::bind_result(): Number of bind variables doesn't match number of fields in prepared statement error
42641
first iteration of sql query not being wrapped properly
89999
java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0)
101638
How do I make sure that values from MySQL keep their type in PHP?
74406
SQL injection that gets around mysql_real_escape_string()
118419
MySQL PHP - SELECT WHERE id = array()?
115266
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in
19693
MySQL command appends '@localhost' to username
52717
php warning: mysqli_close() expects parameter 1 to be mysqli