wpdb 3eprepare

Solutions on MaxInterview for wpdb 3eprepare by the best coders in the world

showing results for - "wpdb 3eprepare"
Davide
26 Oct 2020
1$table_name='myTable';
2 
3$myID=12;
4 
5$wpdb->query($wpdb->prepare("UPDATE `$table_name` SET `your_column_1` = 1 WHERE `$table_name`.`your_column_id` = %d", $myID));
6