Hi all , i am trying to write some basic code to update stock qtys from a XML file ..
I am so close .. just stumbled at the last hurdle ( i think ) Can anyone help ...
I am parsing the XML correctly as it echos up to the screen just fine , so I have something like :-
Code:connection string and select DB Start the xml reading array ... populate $productcode and $stock from XML echo to the page ... all fine $ins_product = addslashes($productcode); $ins_qty = addslashes($stock); $result= mysql_query("UPDATE 'products' SET products_quantity = '$ins_qty' WHERE 'products_model = '$ins_product'"); loop back to the beginning of the array
the result is all the correct info gets echo'd up to the page , but the update query does nothing.
ANy hints please ?



