Well - if you wish to see your data in a table you need to actually make a table.
I didn't see that anywhere on your page - so why should the browser do it?
You seem to need a lot of help:
Try
HTML Tutorial[
^] to start.
If the code you submitted is not your own - this is not the place to come to have someone do the development work for you. Maybe it is yours. Learning php without understanding HTML, however unlikely, was probably unwise.