0

So i have an SQL query, that looks like this and when executing I get no value for my result and no change in my database. Whats the problem here?

$result = $db->query("UPDATE product SET price=$price WHERE id=0x$data[0]");
print_r($result);

0 Answers0