I noticed that Message-ID: <Of********************@comcast.com> from
Shane McBride contained the following:
I knew someone would get me for being lazy.....lol
The sql queries are not that hard. The part that always gets me is when I
have to populate a table with the results. So the size of the table has to
dynamic etc...I can do it, but for what is is worth I would like to have a
GUI to do it for me.....lazy, I know....
Well once you've done the query, you just expand something like this to
fit (untested)
<table>
<tr>
<td>field1</td>
<td>field2</td>
<td>fieldn</td>
</tr>
<?php
while ($myrow = mysql_fetch_array($result)) {
printf(
"<tr><td>%s</td><td>%s</td><td>%s</td></tr>",$myrow["field1"],$myrow["field2"],$myrow["fieldn"]);
}
?>
</table>
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs
http://www.ckdog.co.uk/rfdmaker/