database infomastion
$db_info=array(
'h'=>'localhost',
'u'=>'root',
'pwd'=>'program',
'dbname'=>'agency'
);
$mysqli = new mysql($db_info);
$query = $mysqli->query("select * from user_list");
while($row=$mysqli->fetch_row($query)){
echo $row[1];
}
温馨提示:内容为网友见解,仅供参考