For starters, some of use <gasp/> don't use PHP.
But even for those who do, they won't have your database and won't be able to test your PHP code. (And mysql_query is obsolete, in case you didn't know. You should have long since moved to at least mysqli coding if not more modern stuff.)
Bring up your PHP page in your browser, click on the VIEW menu of your browser, click on the SOURCE or PAGE SOURCE menu item. Now you will be looking at the HTML *as your browser sees it*. Copy/paste *THAT* to this forum, please.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.