Get Users
$conn=@mysql_connect("localhost", "userName", "password") or die("Could not connect");
$rs = @mysql_select_db("my_database", $conn) or die("Could not select database");
$sql="select * from users";
$rs=mysql_query($sql,$conn) or die("Could not execute query");
$list = "";
$list.="First Name ";
$list.="Last Name ";
$list.="User Name ";
$list.="Password ";
while($row= mysql_fetch_array($rs) )
{
$list .= "";
$list .= "".$row["first_name"]." ";
$list .= "".$row["last_name"]." ";
$list .= "".$row["user_name"]." ";
$list .= "".$row["password"]." ";
$list .= " ";
}
$list .= "
";
echo($list);
?>