I get the following error
Warning: Wrong parameter count for mysql_query()
On the following code
UPDATE `TK60_ALLDATA` SET `thc_140`='B' WHERE (`Flat id`='THE BUNGALOW' OR `HouseName`='THE BUNGALOW' OR `HouseNumber`='THE BUNGALOW') AND `Postcode`='NN14 1NJ';
But can’t find the cause at all! Whats causing it?
Full php code:
mysql_query("UPDATE `TK60_ALLDATA` SET `thc_140`='$band' WHERE (`Flat id`='$houseNum' OR `HouseName`='$houseNum' OR `HouseNumber`='$houseNum') AND `Postcode`='$oPostcode';")or die(mysql_query());
i think the problem is in the second call of mysql_query:
in the die() function you should use mysql_error() instead of a second mysql_query() call..