Gossamer Forum
Home : General : Perl Programming :

listing dates

Quote Reply
listing dates
i'm sorting records by date so i have a heading that is the date and then list the records matching that date, then on to the next date. now what i would like to do is list missing dates that fall on a certain day of the week. here's what it looks like now

unless ($last_category eq $rec{'Vol_date'}) {
print qq|<td colspan=$numcols><h2>$dow $rec{'Vol_date'}</h2></td></tr><tr>|;
$last_category = $rec{'Vol_date'};
}
now it prints the record
gets another record and starts over (compares last category to vol_date)

i want it to print all fridays and saturdays whether there's a record or not. if there's no record for a friday or saturday, i want it to print "no record" and then go on to the next friday or saturday.

my code is so messed up i don't even want to post what i have. pls help! tks
Subject Author Views Date
Thread listing dates delicia 9213 Jan 30, 2010, 12:00 PM
Thread Re: [delicia] listing dates
Andy 9058 Jan 31, 2010, 1:30 AM
Thread Re: [Andy] listing dates
delicia 9081 Jan 31, 2010, 1:57 PM
Thread Re: [delicia] listing dates
Andy 9058 Jan 31, 2010, 11:46 PM
Thread Re: [Andy] listing dates
delicia 9083 Feb 1, 2010, 9:40 AM
Thread Re: [delicia] listing dates
Andy 9042 Feb 1, 2010, 9:48 AM
Thread Re: [Andy] listing dates
delicia 9058 Feb 2, 2010, 11:15 AM
Thread Re: [delicia] listing dates
Andy 9028 Feb 2, 2010, 11:59 AM
Post Re: [Andy] listing dates
delicia 9005 Feb 3, 2010, 6:46 AM