Hi I am doing this HTML.net tutorial on php.I keep getting this error and I cannot figure out how to fix it.I am running php version 5.4 maybe this is the problem, I appreciate tour help:
Parse error: syntax error, unexpected 'TABLE' (T_STRING) in C:\inetpub\wwwroot\phpconnect.php on line 6
This is the code:
<?php
mysql_connect("localhost", "root", "LaTorre1937##") or die(mysql_error());
mysql_select_db("mydatabase") or die(mysql_error());
CREATE TABLE people (
id INT NOT NULL AUTO_INCREMENT,
FirstName CHAR,
LastName CHAR,
Phone INT,
BirthDate DATE,
PRIMARY KEY(id)
);
?>