Mysql To execute query and remove special characters
<p>I want to remove special characters when a user input into text box,to do this ,i was using mysql_real_escape_string to do above but today,i see not use this in php manual.</p>

<p>Alternatives to this is  MySQLi or PDO_MySQL .What are the advantages of using this.What is built in function to execute query and remove special characters.</p>

<p>Thanks in advance!</p>
