i know mysql_real_escape_string is not safe But the mysqli safe ? (improved version ). Give me one example that will get around this ? `$id = mysqli_real_escape_string($con,htmlentities(trim($id)));` `"SELECT * from table where id = '$id' "`