Simple way to change mysql_query() to MySQLi or PDO or more secure method?
255
How can I prevent SQL injection in PHP?
94743
How to get numeric types from MySQL using PDO?
13546
Correct way to use LIKE '%{$var}%' with prepared statements? [mysqli]
1831
Can PHP PDO Statements accept the table or column name as parameter?
39407
PHP: how are query results stored in mysqli_result
103446
PDO: Call to a member function fetch() on a non-object?
84727
PDO support for multiple queries (PDO_MYSQL, PDO_MYSQLND)
107307
Can I protect against SQL injection by escaping single-quote and surrounding user input with single-quotes?
3705
How can I prevent SQL injection with dynamic tablenames?
16981
Warning: mysqli_query() expects parameter 1 to be mysqli, string given in
121305
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource
43901
Mysqli query in function - PHP
26247
How to use an user variables in MySQL LIKE clause?
151510
Is it possible to mysqldump a subset of a database required to reproduce a query?
8848
Can I mix MySQL APIs in PHP?
88044
Tell MySQL to start using utf-8 encoding without `convert to`ing it
23647
Why shouldn't I use mysql_* functions in PHP?