这是我的代码:
<?php db_connect.php
echo "connecting to DB..."
$host = "localhost";
$user = "root";
$pass = "*****";
$databaseName = "atlas_test";
$tableName = "sites";
$con = mysql_connect($host, $user, $pass);
if(!$con){
die ('Could not connect: ' . mysql_error());
}
echo "DB connect successful..."
?>
...我在尝试运行页面时收到以下错误消息:
“解析错误......期待','或';' 在 db_connect.php 中,第 4 行..."