Use placeholders and $wpdb->prepare(); found $query
-
Hello,
PCP give ERROR
WordPress.DB.PreparedSQL.NotPrepared : Use placeholders and $wpdb->prepare(); found $query
with this prepare:$table = $wpdb->prefix.'_visitors';
$query = $wpdb->prepare("SELECT * FROM %i WHEREdate=%s ORDER BYnDESC", $table, $custom_day);
$t4 = $wpdb->get_results($query);what’s wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.