Converting to MySQLi
I have to lines that I'm not sure how they should be recoded. The two lines are:
$sql="UPDATE products SET ProdInv = '$newInv' , ProdAvail = '$newAvail' , RecOrder = '$newRecOrder' WHERE ProdId = '$newId'";
$result = MYSQL_QUERY($sql);
Could you tell me how to re code these two lines using MySQLi ?
Thanks