I have created a SQL query which is created on the fly dependent on a users search.
Having tested the code I am getting the following error:
Parse error: parse error, unexpected T_VARIABLE, expecting ',' or ';' in d:\php\record.php
The code it is falling over at is this:
$strSQL = mysql_query($sql);
Anyone any ideas why its falling over?