Top "Mysql-real-escape-string" questions

A PHP function that escapes special characters in a string for use in an SQL statement.

Codeigniter Deprecated: mysql_real_escape_string():

Got below error while using codigniter 3.0 FYI using PHP Version 5.5.12,Apache Version Apache/2.4.9 (Win64) PHP/5.5.12 A PHP Error was encountered …

php mysql codeigniter mysql-real-escape-string
MySQL real escape string

I was trying to sanitize inputs to my PHP login using addslashes and mysql_real_escape_string. Using addslashes works, …

php mysql sanitization mysql-real-escape-string apostrophe
mysql_real_escape_string() for entire $_REQUEST array, or need to loop through it?

Is there an easier way of safely extracting submitted variables other than the following? if(isset($_REQUEST['kkld'])) $kkld=mysql_…

php mysql mysql-real-escape-string
mysql_real_escape_string() just makes an empty string?

I am using a jQuery AJAX request to a page called like.php that connects to my database and inserts …

php mysql ajax mysql-real-escape-string
mysql_real_escape_string() not working, even though I'm connected to the database

I don't think my code's the problem because it's working on my local server (EDIT: sorry if this was the …

php mysql mysql-real-escape-string nearlyfreespeech
mysql_real_escape_string not working for me

When I try to do a mysql_real_escape_string for a login system, it does not record the variable …

php sql database mysql-real-escape-string
mysql_real_escape_string and single quote

I'm quite frustrated. I want to be able to insert into my database names with single quotes - for example, …

php mysql escaping mysql-real-escape-string
Htmlentities vs addslashes vs mysqli_real_escape_string

I've been doing some reading on securing PHP applications, and it seems to me that mysqli_real_escape_string is …

php security mysql-real-escape-string addslashes
Using mysql_real_escape_string with PDO (no connection to localhost server)

So I'm fairly paranoid and use mysql_real_escape_string() with PDO. I actually don't use prepared statements in PDO, …

php mysql security pdo mysql-real-escape-string
Is there an equivalent of PHP's mysql_real_escape_string() for Perl's DBI?

Could some tell me if there is a function which works the same as PHP's mysql_real_escape_string() for …

perl dbi mysql-real-escape-string