just wanted to add that the query works if I use real numbers

$result= mysql_query("UPDATE products SET products_quantity = 70 WHERE products_model = 26284");

and the variables echoed to the page contain those same numbers ..

but when I replace the numbers with the variables , it does nothing.

thanks for looking