Page 1 of 1

Displaying MYSQL Results

Posted: Sun Aug 11, 2002 10:25 am
by dinno2
Simple question, I cant find any documentation on displaying The output of my php script, that retreives data from mysql.
What i mean is, the script draws infro from the database, then displays it at the top of a new page, Is there a way to have that information displayed on a pre defined HTML table?
The page in question is http://www.thevirtualpilotplanner.com/searchform.html
Thank You!
Michael

Posted: Sun Aug 11, 2002 11:19 am
by volka
what do you mean with "pre-defined"? is

Code: Select all

...
while($row=mysql_fetch_row($result))
{
   print('<tr class="searchRow">');
   foreach($row as $value)
      print('<td class="searchCell">'.$value.'</td>');
   print('</tr>');
&#125;
...
sufficient?