//include stylesheet for formatting include("stylesheet.php"); ?>
I starting a database of games. So far I have created a table with the game name, link and date first played and some other fields that don't mean anything to you.
// script to display all the Computers in the Computers table // connection information include 'connect.php'; // Select all the fields in all the records of the Computers table $query = "SELECT * FROM gamelist ORDER BY gamename"; $result = mysql_query($query); // Determine the number of computers $number = mysql_numrows($result); // Print the computer names print "Name of Game | Date First Played | Index number | Last time record was updated |
---|---|---|---|
$gamename | $firstdate | $gameindex | $gamelastupdate |
Click here to check out The Oahu Board Gamers!