Most of my previous project were done with MySQL so using mysql_real_esca pe_string() made me feel a little more secure. Is there any function like this for mssql in PHP?
How to guard against SQL injection in PHP?
Collapse
X
-
Tags: None
-
-
you could use a Database Abstraction Layer like PDO or MDB2, which a) allow you to use your code with different data bases and b) allow you to use prepared statements (see SQL Injection @ Wikipedia).Comment
Comment