I need some help with this code..
$tx_adminPosts = array();
$query = mysql_unbuffered_query('SELECT thread.title WHERE thread.forumid = 24 AND thread.lastpost > UNIX_TIMESTAMP() - 1814400');
while ($tx_adminPosts[] = mysql_fetch_row($query));
what that code does it pulls data that is less than 21 days old. What i want to add, is something so that if there is no data, put a simple text line like "No Data Newer than 21 days"
thanks in advance for any help