How to sanitize this particular mysql query ?
Posted
by justjoe
on Stack Overflow
See other posts from Stack Overflow
or by justjoe
Published on 2010-03-29T07:38:16Z
Indexed on
2010/03/29
7:43 UTC
Read the original article
Hit count: 209
i got this SQL query where post_title taken from $_GET
$sql = "SELECT ID FROM $wpdb->posts WHERE $wpdb->posts.post_title = '5-desain-web-colourful'";
What is the best way to sanitize this and make it more safe ?
© Stack Overflow or respective owner