i'm redoing my archives to work with a mysql database. each row in my weblog has a unix_timestamp. i want to know how i can get it through something like this: '/archives/view.php?year=02&month=03&day=25'
so far i've gotten this from a few of my friends.
$date1 = mktime(0,0,0,$month,$day,$year);
$query = mysql_query("select * from weblog where date='$date1'");
it's not working so i know i did something wrong. anyone know what's up?