Hm, the code I have on the display page now is this:
<?php
//connect to database
mysql_connect("localhost", "user_twit", "password") or die(mysql_error());
//connect to specific table
mysql_select_db("user_twitter") or die(mysql_error());
require_once 'db-functions.inc.php' ; //custom database functions
$result = dbQuery("SELECT * FROM `twitter` WHERE `screen_name`='name' AND `hidden` != 'y' ORDER BY `time` DESC LIMIT 3");
while ($row = dbGetRow($result)) {
$text = stripslashes($row['text']);
$time = $row['time'];
echo "<li>".date('M j, Y, g:i a',$time)." ยท $text</li>\n" ;
}
?>
But now it is giving this error:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/user/public_html/db-functions.inc.php on line 29
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/user/public_html/db-functions.inc.php on line 29
Error: Database error!
Sorry for being so noob, but mysql errors are pretty foreign to me.