RE: [PHP] How to show data in one row from two rows from the database

2002-08-15 Thread Jay Blanchard
[snip] Something like: $sql = "Select DISTINCT COUNTRY from tariffs"; $result=mysql_query($sql) or die(mysql_error()); while ($row = mysql_fetch_array($result)) { echo "Rates for {$row['COUNTRY']}\n"; $sql = "select DISTINCT GROUP from tariffs where COUNTRY='{$row['COUNTRY']}' order by GROUP"

RE: [PHP] How to show data in one row from two rows from the database

2002-08-15 Thread Matt Schroebel
> From: Ing. Rajesh Kumar [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 9:36 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to show data in one row from two rows from > the database > > > Hi everybody > What I wrote in the subject may look complicated so I added a > html file.