Forum Moderators: coopster
To see a sample of what I want the results to look like, go to:
<snip>
As you can see, I can get the results for a ship.
I can present it in a table with 2 columns, the key being in col 1 and the value in col 2.
I would really like to have it more like the sample, if at all possible.
As I am a real newbie at php and mysql, any help would be appreciated.
Thanks
Nevgar - Inuvik, NT, Canada
[edited by: dreamcatcher at 7:12 am (utc) on June 1, 2007]
[edit reason] no urls as per T.O.S [webmasterworld.com].Thanks [/edit]
$results = mysql_query($sql);
while ($row = mysql_fetch_array($results)) {
print '<tr>';
print '<td>' . htmlentities($row['col1'] . '</td>';
print '<td>' . htmlentities($row['col2'] . '</td>';
print '</tr>';
}