Lost? - If you're not sure how to find what you're looking for, try the site map, expanded menus, or the search engine. Also, hover over a menu button to see what each section contains. All are available on the menu to the left!
Return visitors - your best
bet is to bookmark this page (hit CTRL-D) so you can skip the introduction
and welcome next time. Also, for best results set your screen size
to a minimum of 800 x 600.
WHAT'S NEW?
// Code By Gregg Buntin, Realm Laboratories, LLC // http://www.realmlabs.com // gbuntin@realmlabs.com // This code reads from a database and displays news // Here is where the magic begins // First we connect to the database include "dbconnect.php"; // Then we select the data we need from the table we want with // a standard SQL statement $dbquery = "select dakey, datitle, dadesc, dalink, date_format(daposted, '%m/%d/%Y'), daposter from news order by daposted desc, dakey"; // Here we are using a MySql database. Could use any database. $dbresult = mysql_query($dbquery, $mysql_link); // Assuming the query is successful, start the output if ($dbresult) { $LastDate = ""; while ($row = mysql_fetch_row($dbresult)) { // Assign cryptic fields to something more meaningful $DaTitle = trim($row[1]); $DaDesc = trim($row[2]); $DaLink = trim($row[3]); $DaPostDate = $row[4]; $DaPoster = trim($row[5]); // If we are doing a new date, need a line to separate from others if ($LastDate != $DaPostDate) { print "
\r\n"; print "\r\n"; $LastDate = $DaPostDate; } // Display The Title print " "; // Here we link the title to the database link if one is entered if ($DaLink != "") { print "$DaTitle"; } else { print "$DaTitle"; } print "\r\n"; // Display the detail print " $DaPostDate
$DaDesc"; // Display Who Posted The News print " (Posted By: $DaPoster)"; print "\r\n"; } // Need to show a line separating news from the rest of the page print "
\r\n"; } ?>I am looking for feedback from visitors as to what to do with this web site next. Has it been useful to you? Are you a regular visitor, or only a once in a while at best? What could this site do to be more useful? Please send me comments on anything from HTML design to the actual content. THANK YOU!
If you'd like to contribute something to this FAQ, please use one of the following methods:
Want to be notified of updates to this page? Use the ListBot down below.
- Email me.
- Use my guestbook.
- Use the message board.
- Take the survey!
passthru("/cgi-bin/ssi_ad.pl"); ?>
This is an ad. It's placement here is neither an endorsement or lack there-of. Click on the ad to visit the sponsor. For details on advertising policy on this web site, click here. passthru("/cgi-bin/ssi_rand_image.pl"); ?>
The above site is a worthy non-profit organization that could use your support - support that doesn't necessarily have to mean money. Please click if you have a spare moment.
This Custom Game Controls site owned by saint.
[ Previous 5 Sites | Previous | Next | Next 5 Sites | Random Site | List Sites ]
This MAME Ring site is owned by saint.
Click for the [ Previous | Next | Next 5 Sites | Random Site | List Sites ]
Want to join the ring? Click here for info!
passthru("/cgi-bin/counter.cgi"); ?>