請幫幫忙,解析錯誤一邊寫代碼
Error
解析錯誤:語法錯誤,意想不到的 '如果'(T_IF)在C:\ XAMPP \ htdocs中\上線電子商務\核心\的init.php 3
My Code
<?php
$db = mysqli_connect('127.0.0.1','root','','kidsshowroom')
if(mysqli_connect_errno()) {
echo 'Database Connection failed with the following errors: '.mysqli_connect_error();
die();
}
?>
檢查此問題http://stackoverflow.com/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them –