hey again... i got it almost working, however, when i do a search for today, or yesterday, i get results from a couple different days, not just from what im looking for... here is the code i have so far
if (isset($_GET['last_update']))
{
if ( $HTTP_GET_VARS['last_update'] == "today")
$length = 1;
else if ( $HTTP_GET_VARS['last_update'] == "yesterday" )
$length = 2;
else if ( $HTTP_GET_VARS['last_update'] == "last_week" )
$length = 7;
$time_period = time() - ($length * 86400);
$links_sql .= ' WHERE user_update >= '. $time_period.' ';
$total_records_sql .= ' WHERE user_update >= '. $time_period.' ';
}