PHP MySQL data display problem
I am having trouble getting data to display on my web page.
In Dreamweaver CS3, I created a new page.
Selected PHP as the type.
Saved it.
Connected a database and created a recordset (all using Dreamweavers menus. I did not write any code).
NOTE: The database is on a remote server.
The TEST button displayed the records from the recordset with no problem.
On the new page, I then typed some text.
Then dragged some fields from the Bindings tab to the page.
I saved it and then went to preview it in my browser.
The page comes up completely blank. Not even the text shows.
I then saved the page as an HTML page.
When I preview this in my browser, the text shows, but the fields and data do not.
I then tried creating a dynamic table (again, using the Dreamweaver menus.).
A similar thing happens, ie. If I save it as an HTML, the text shows and the column labels and border shows, but no data.
Nothing shows if I save it as a PHP file.
I can view the data online using files created by PHPMagic, so I know the data is there and retrievable.
It is just in pages created in Dreamweaver that don’t work.
What am I doing wrong?
