Re: [PHP] Automatic Colspan from database data

2002-11-09 Thread Marco Tabini
. > > Bsaed on this if we were to make a table with colspans how would it go..? > > > Thank you > > Dhaval > > > > > > > > > > >From: Marco Tabini <[EMAIL PROTECTED]> > >To: Dhaval Desai <[EMAIL PROTECTED]> > >

Re: [PHP] Automatic Colspan from database data

2002-11-09 Thread Dhaval Desai
ROTECTED]> To: Dhaval Desai <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [PHP] Automatic Colspan from database data Date: 09 Nov 2002 15:10:39 -0500 Ouch... well, assuming you have two columns: day_id and value, here's a possible solution: $rs = mysql_query ('select

Re: [PHP] Automatic Colspan from database data

2002-11-09 Thread Marco Tabini
in each table will take values ranging rom 1-20. > > Well that's all about how my tables are in the database. > > > Thank You for your time > > Dhaval Desai > > > > > > > > > > >From: Marco Tabini <[EMAIL PROTECTED]> > >To:

Re: [PHP] Automatic Colspan from database data

2002-11-09 Thread Dhaval Desai
sai <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [PHP] Automatic Colspan from database data Date: 09 Nov 2002 13:34:20 -0500 How is your database organized? you might be able to pull this information from the query by using an appropriate group-by clause. Marco -- ph

Re: [PHP] Automatic Colspan from database data

2002-11-09 Thread Marco Tabini
How is your database organized? you might be able to pull this information from the query by using an appropriate group-by clause. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Check us out on the web at

[PHP] Automatic Colspan from database data

2002-11-09 Thread Dhaval Desai
Hi everybody! Well this is how it goes... For the month of January there are 31 days... so there are 2 rows in this table on the top row there are 31 columns showing 31 days...and in the row below this one we will have to generatecolspan based on the below information pulled from the