Syntax Error Help Needed
Posted: Mon Mar 08, 2010 6:44 am
I get this error:
PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/helpdesk-dev/edit_priority.php on line 11
on this line:
I can't see the syntax error
Help?
PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/helpdesk-dev/edit_priority.php on line 11
on this line:
Code: Select all
If ($_POST) {mssql_query("UPDATE faultlog SET enduser='" . $_POST['user'] . "', description='" . $_POST['desc'] "', priority='" . $_POST['pri'] . "', chargable='" . $_POST['charge'] . "' WHERE faultlog.id_prefix='" . $_GET['pfx'] . "' AND faultlog.id=" . $_GET['id'],$db)};Help?