Posted by Ian Davies on 10/22/05 02:52
Hello
I am getting the following error
Parse error: parse error, unexpected T_VARIABLE in
e:\domains\i\mysite.co.uk\user\htdocs\SaveOrder.php on line 16
I cant see what is wrong with line 16. can you help? Here is the code
(simplified). Line being the SQL statement
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<?php
require_once('connection.php')
$insert = "INSERT INTO tOrderItem (QuestionNo) VALUES (5)";
$add_order = mysql_query($insert) or die('Query failed: ' .
mysql_error());//$conn->
mysql_close($conn);
?>
</form>
<p></body>
</html>
[Back to original message]
|