|
First of all, I think this thread should have been started in the "PHP and MySQL" Forum, but anyways...
Any page that you wish to integrate PHP in should be a .php file, so if you're trying to execute a PHP script in a .htm file, its not going to work, your server won't know to parse the the PHP and it will just spit out the code when you view the page.
As for displaying the results of your MySQL query, just loop through the query result and display the data however you would like. You said the query part of your script is already working so where are you executing that from?
If you need a code sample let me know.
|