To YoungTrek: I can't see any problems with the code, but then I don't tend to use the mysql functions directly. Try it out, see if it works.
As for MarCarNar, I'd suggest that you get a good grip of XHTML and CSS before you move on to PHP. If you're using Frontpage, then try using its HTML editing mode, where you type the page entirely in HTML as apposed to just typing then formatting using the buttons and have it generate the 'behind-the-scenes' code for you...