I know I'm missing something.. but I've been staring at this code too long to see it.
I have a form array that contans unique referance numbers
I send the contents to another script that searches 4 tables for items belonging to the unique ref. numbers the results of which is supposed to update a different table.
$query = "update usrstat set eq$count = '$alt'
where refnum = '$refno[$i]' ";
$result2 = mysql_query($query) or die("Error"
;
I've changed while statements every which way to sunday, and keep getting the same error:
*********************************************************
Parse error: parse error, unexpected T_STRING
*********************************************************
any body have any ideas?
Thanks in advance
I have a form array that contans unique referance numbers
I send the contents to another script that searches 4 tables for items belonging to the unique ref. numbers the results of which is supposed to update a different table.
$query = "update usrstat set eq$count = '$alt'
where refnum = '$refno[$i]' ";
$result2 = mysql_query($query) or die("Error"
I've changed while statements every which way to sunday, and keep getting the same error:
*********************************************************
Parse error: parse error, unexpected T_STRING
*********************************************************
any body have any ideas?
Thanks in advance