Hi,
I have this sql statement that will be inserted into a mySQL db. However it is giving me the following error:
Parse error: parse error, unexpected T_STRING in c:\web\process\test.php on line 72
$sql = "INSERT INTO request SET "
EMAIL = '$email', ---->line 72
PHONE = '$phone',
DEPARTMENT = '$department',
TYPE_OF_REQUEST = '$typeofrequest',
NUMBER_OF_REQUESTS = '$numberofrequests',
PRIORITY = '$priority',
LOCATION = '$location',
CONTENT = '$content',
FILENAME1 = '$upload1'"";
Any mistakes you can see?
Thanks,
sbayter
I have this sql statement that will be inserted into a mySQL db. However it is giving me the following error:
Parse error: parse error, unexpected T_STRING in c:\web\process\test.php on line 72
$sql = "INSERT INTO request SET "
EMAIL = '$email', ---->line 72
PHONE = '$phone',
DEPARTMENT = '$department',
TYPE_OF_REQUEST = '$typeofrequest',
NUMBER_OF_REQUESTS = '$numberofrequests',
PRIORITY = '$priority',
LOCATION = '$location',
CONTENT = '$content',
FILENAME1 = '$upload1'"";
Any mistakes you can see?
Thanks,
sbayter