I have no idea why this query doesnt work? the WHERE part will work if I put the value in of the rowset, but I can echo out the variable $faultid and its the same? it executes the query but doesnt change the record? all the variables are declared before this statement?
thanks
$result = "UPDATE faults SET dslam='$dslam', hsl='$hsl',psba='$psba',hostname='$hostname',sitename='$sitename',postcode='$postcode',bandwidth='$bandwidth',live='$live', remedy='$remedy',changeofservice='$changeofservice',
serviceaffecting='$serviceaffecting',comments='$comments',tiepair='$tiepair',circuit='$circuit',faulttype='$faulttype',bttest='$bttest',btref='$btref',assigned='$assigned' WHERE faultid= '$faultid'";
mysql_query($result);