umm, or do this.
// connect to db
$fp = mysql_connect("localhost","user","pass");
// this connects to mysql localhost is the server, could be acomp.admain.net
mysql_select_db("dbname",$fp); // $fp is connection pointer
$query = "SELECT * FROM users"; // mysql query (learn mysql for this)
$res = mysql_query($query,$fp); // $res = query pointer
for examples sake the table users contains this
user | pass
joe ninety
bob marley
to display it in php
while($row = mysql_fetch_array($res)){
echo $row["user"];
echo $row["pass"];
echo "<br>";
} // end while
this would display
joeninety
bobmarley
good luck
Nath