Skip to main content
edited tags
Link
Your Common Sense
  • 158.2k
  • 42
  • 226
  • 374
Source Link
Arun Kumar
  • 1.6k
  • 1
  • 18
  • 33

mysql_real_escape_string() function not working in wordpress WP_Query?

We have tried this way. But it is not working. please any one tell alternative method in wordpress

$wpdb->query("UPDATE ".$wpdb->prefix."recommend_bets SET `title`='".mysqli_real_escape_string($title)."',`category`='".$catID."',....