列表代码
PHP;">
PHP
$con = MysqL_connect("localhost:3306","root","");
if (!$con) {
die('Could not connect: ' . MysqL_error());
}
MysqL_select_db("test",$con);
$result = MysqL_query("SELECT * FROM user");
echo "
Username | Password | while($row = MysqL_fetch_array($result)) {
---|