I am attempting to create a table using Notepad ++ and when opening on the local root I am receiving the error message:
Parse error: syntax error, unexpected '$query' (T_VARIABLE) in C:\xampp\htdocs\COP3718\caller_call_record_test.php on line 10
I am very new to this and am running into errors left and right that I can not figure out. Here is the code I am inputting:
<?php
//connect to the database - and create the caller_info table
include("inc_connect_local.php");
echo "Connected to mysql";
//Open the testproject database
mysql_select_db("testproject")
//create "caller_call_record" table
$query = "CREATE TABLE caller_call_record(
call_record_id int(11) not null,
Call_Description varchar(50),
franchise_id int(10) not null,
Email varchar(40) not null,
Username varchar(25) primary key not null)
";
mysql_query($query);
echo "Table created successfully.";
?>