Re: [PHP-DB] php/mysql horizontal listing query

2001-06-29 Thread Hugh Bothwell
>""Matt Nigh"" <[EMAIL PROTECTED]> wrote in message >014501c0fe67$945a3400$[EMAIL PROTECTED]">news:014501c0fe67$945a3400$[EMAIL PROTECTED]... >hello knowledgeable people of the php-db list, ;-) flattery will get you everywhere ;-) >I need a section of a record label site with a releases section

Re: [PHP-DB] php/mysql horizontal listing query

2001-06-27 Thread Dobromir Velev
Hi, may be this will be helpfull $res=mysql_query("select release from tbl_release"); for ($i=1;$i<=4;$i++){ if ($i==1)echo ""; $row=mysql_fetch_row($res); if ($row) echo "$row[0]"; else { $end=1; echo " "; } if ($i!=4)echo ' '; if ($i==4){ echo "";

Re: [PHP-DB] php/mysql horizontal listing query

2001-06-27 Thread Paul Burney
on 6/26/01 10:43 AM, Matt Nigh at [EMAIL PROTECTED] wrote: > I need a section of a record label site with a releases section listed > horizontally but here's the twist: after every 4 releases, I want the > releases to move to the next columns below. > > ex. > release#1, release#2, release#3, re