Re: [PHP] multiple table rows into an array, and creating a calendar

2003-11-13 Thread David T-G
Dave -- ...and then Dave G said... % ... % My problem is that I can't figure out how to compare the results % of the query to the dates on the calendar so that they display on the % right dates. OK. % I thought I should put those date in an array and then on each % date, search tha

Re: [PHP] multiple table rows into an array, and creating a calendar

2003-11-13 Thread Burhan Khalid
Dave G wrote: Burham why don't you do an in_array() check for each date that you print. Hope this helps. Yes, this helps a lot! However, I'm still stuck on how to get my list of dates into the array. I've been searching around on the Internet, and it seems that one has to construct a for() lo

RE: [PHP] multiple table rows into an array, and creating a calendar

2003-11-12 Thread Dave G
Burham > why don't > you do an in_array() check for each date that you print. > Hope this helps. Yes, this helps a lot! However, I'm still stuck on how to get my list of dates into the array. I've been searching around on the Internet, and it seems that one has to construct a for() loop in order

Re: [PHP] multiple table rows into an array, and creating a calendar

2003-11-12 Thread Burhan Khalid
Dave G wrote: PHP Gurus, Why hello young pedawan I guess what I really am asking is, what is the most efficient way for me to compare the dates on the calendar with the dates in my database and display matches as links. If you have an array of dates (events) -- and you want to create a ca

[PHP] multiple table rows into an array, and creating a calendar

2003-11-12 Thread Dave G
PHP Gurus, I have a database of events which happen on various dates. I've set up a query to select all the dates within the current month. I've got a calendar which shows one month at a time, as a table, on which to display the relevant dates as links. My problem is that I can't fi