Hi hope somebody can help me on this.I am doing an HTML.net tutorial lesson 18 create database and tables, and I keep getting this error:
Parse error: syntax error, unexpected 'TABLE' (T_STRING) in C:\inetpub\wwwroot\phpconnect.php on line 6
I have tried everything to fix it but I cannot figure it out.I am running Php version 5.4, maybe this is the problem, maybe the code is obsolete though it seems up to date to me.
This is my code:
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,
Thank you very much I appreciate your help.