I'm new and i want to ask you something.This is the code i have
<?php
$dbhost = 'fdb2.agilityhoster.com';
$dbuser = 'i dont give username in this thread';
$dbpass = 'i dont give password in this thread';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
mysql_query("CREATE DATABASE my_db",$con)
mysql_select_db("my_db", $con);
$sql = "CREATE TABLE Persons
(
FirstName varchar(15),
LastName varchar(15),
Age int
)";
mysql_query($sql,$con);
mysql_close($conn);
?>
As you can see this code is coppied from tutorials,but hosting,username,and password are changed.There is one problem.When i open the page,it says:
Parse error: syntax error, unexpected T_STRING in /home/www/heyaa.agilityhoster.com/index.php on line 8