php
This question already has an answer here:
You need to create a connection to your database first, do this using mysql_connect()
like so:
$con = mysql_connect(DATABASE, USERNAME, PASSWORD, TABLE);
and then pass this connection whenever you make a query.
Also change all of your function calls to mysqli_*
链接地址: http://www.djcxy.com/p/69228.html上一篇: PHP登录/注册错误
下一篇: PHP