";
$selected = mysql_select_db("customp9_test1",$dbh)
or die("Could not select first_test");
// you're going to do lots more here soon
$result = mysql_query("SELECT id, first_name,last_name, city FROM people");
while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) {
print "ID:".$row{'id'}." Name:".$row{'first_name'}."
".$row{'last_name'}. " City:".$row{'city'}." ";
}
mysql_close($dbh);
?>