Ive got a News Headlines Script. Which is still needing some tweaking.
Im trying to make it so that the Headlines are pulled out only for the last week..
$result = $db_class->query("SELECT * FROM news WHERE time < '".(time()-604800)."' ORDER BY time DESC LIMIT 5");
As im using INT(11) as the time feild im having trouble getting the headlines in the last week...