Hi there.
I have a query to a MySql database. Whin echoing the result I use:
echo ("<table>bla bla...");
while ($row = mysql_fetch_assoc($resultat))
{
// Here goes the rows
echo ("<tr><td>bla bla...")
and at the end it closes like:
}
echo("</table>");
But, I would like to finish the table wit a summary of the data in the rows.
How do i end the loop after the last line, and print out a line at the very end, with the summary ?
Or, do I have to manually format that summaryline and put it outside the table with the data ?
I do have the code for the summary. This is merely at question of how to format it like the table with the rows.
U know what i mean ?