<?php
$conn= mysql_connect("127.0.0.1","root","root");
mysql_select_db("tools",$conn);
$result= mysql_query("select * from admin");
while($row=mysql_fetch_array($result))
{
echo $row["name"]." ".$row["pass"];
echo"</br>";
}
mysql_close($conn);
?>
菲 blog