SQL-Injection prevention with if/else
255
How can I prevent SQL injection in PHP?
77672
MySQL Conditional Insert
148619
Is there a reason not to use  (null safe equals operator) in mysql instead of =?
113547
How do I demonstrate a Second Order SQL Injection?
93041
using nulls in a mysqli prepared statement
7951
PHP IF OR Else statement - best way to do this
149657
Alternative to mysql_real_escape_string without connecting to DB
106479
Check if a row exists, otherwise insert
122995
PHP and Postgres: catching errors?
152786
How do I conditionally create a stored procedure in SQL Server?
40559
MySQL Wildcard for "=" - is there one
10136
How can I add user-supplied input to an SQL statement?
101638
How do I make sure that values from MySQL keep their type in PHP?
1260
PHP If/Else Argument and PDO Objects
8240
How to secure database passwords in PHP?
3800
How do I check to see if a value is an integer in MySQL?
114718
Is there a DBMS that allows the "= NULL" syntax?