Pseudo code:
(1) Write table header (<Table>..<TR>.. <TH> entries) onto the page.
(2) Open the mySql table
(3) While not eof,
(3a) Write the current record wthin a <TR> <TD>field1</td><td>field2</td> ... </Tr> onto the page.
(4) On eof, write the table footer (</table>
Pradeep,
Why dont you get a good book from your library or buy one about php and mysql. The above and your previous post are standard class examples and most text books will have similar examples. Better still, go for the exact book your tutor is fond of.
OK
Last edited by AnanthaP; 01-07-2012 at 02:37 AM.
|