Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sql Injection

Decoding Mysql_real_escape_string() For Outputting Html

I'm trying to protect myself from sql injection and am using: mysql_real_escape_string($string)… Read more Decoding Mysql_real_escape_string() For Outputting Html

How To Prepare Sql Query Dynamically (column Names Too) Avoiding Sql Injection

I recently learned about SQL Injection and the PHP recommendation to avoid it, using prepare() and … Read more How To Prepare Sql Query Dynamically (column Names Too) Avoiding Sql Injection

Decoding Mysql_real_escape_string() For Outputting HTML

I'm trying to protect myself from sql injection and am using: mysql_real_escape_string($string)… Read more Decoding Mysql_real_escape_string() For Outputting HTML

Correct PHP Method To Store Special Chars In MySQL DB

Using PHP, what is the best way to store special characters (like the following) in a MSQUL databas… Read more Correct PHP Method To Store Special Chars In MySQL DB