What’s NOT wrong with this code, used by a plugin to pull results from a user query from the posts table?
$results = $wpdb->query(
"SELECT * FROM wp_posts
WHERE post_title='".$_GET['title']."'");
What’s NOT wrong with this code, used by a plugin to pull results from a user query from the posts table?
$results = $wpdb->query(
"SELECT * FROM wp_posts
WHERE post_title='".$_GET['title']."'");