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