MySQL returns:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<?php
$link = mysqli_connect('localhost','root','root')' at line 1
The teacher doesn’t know what’s going on
寻觅 beyond2017-09-22 19:53:29
I suggest you take a screenshot, and also check whether the mysqli extension is enabled
按键盘手指磨破皮2017-09-13 23:59:37
$link = mysql_connect('localhost','root','root') or die ('出错了'); mysql_connect 你打成了 mysqli_connect