Good evening everybody.
I'm trying to add values to a database. The script is connecting to the server just fine. It is finding the correct db just fine. The issue is when I try to add stuff to the db...
Heres the code:
<?php
include 'dbconnect.php';
$edname = 'bob';
$edemail = '1234';
$writername = 'jess';
$draft = 'p1';
$interviews = 'bobby jones';
$title = 'bobby jones goes to town';
$decription = 'he really goes to town';
$section = 'news';
$edphone = '1234567';
mysql_query("INSERT INTO callsheet VALUES ('$edname', '$edemail', '$writername', '$draft', '$interviews', '$title', '$decription', '$section', '$edphone');")
?>
The error is this:
Parse error: parse error, unexpected T_STRING in /homepages/6/d161045083/htdocs/callsheet/dbaddcallsheet.php on line 17
I have no idea whats going on. Other INSERT INTO querys that I run work just fine. As far as I can tell I'm using the same syntax... help?