Posted by strawberry on 10/13/89 11:48
This might look nicer... (well, I think so anyway ;-) ) echo "<table>"; while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { echo "<tr>"; foreach ($field as $key) { echo "<td>" . $row[$key]."</td>"; //Show the results } echo "</tr>"; } } echo "</table>";
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming