?php mysql_connect( "hostname", "user", "password"); mysql_select_db($db); $result = mysql_query("select * from table"); while ($row = mysql_fetch_object($result)) {echo $row - user_id; echo $row - fullname;} mysql_free_result($result);?
?php mysql_connect( $host,$user,$password); $result = mysql_db_query("database" ,"select * from table"); while($row = mysql_fetch_object($result)) {echo $row - user_id; echo $row - fullname;} mysql_free_result($result);?