Question
Database/MYSQL/ACCESS/PHP
This is my first webpage based on data from a database.
I am using DW8 and the templates of the website are based on PHP, the main PHP page calling two "includes", one for the left menu and the other the main page, both straight HTML.
I have a database written in MS Access. During development I used a simple HTML page to display the contents of the database using a table with a repeat region. So I know I can connect to the database and I have the correct basic details to display the information. I was a little surprise when this HTML page could not be called (included) with the PHP command but then assumed the database must be in MYSQL for PHP to be happy. (Please let me know if this is wrong assumption).
I converted the database to MYSQL and wrote a simple PHP page to display the data. Again this works so again I know I can connect etc. However it does not work when I use this page as the "include" in the PHP template page.
Does anyone know where I have gone wrong?
The site is not yet live so I cannot give a URL .
For more background info; the main site has a left menu with associated data going in the centre. The pages in question forms the product section. I have a collapsable menu list on the left which is to call a new main section with a filtered list from the database. As a "chicken" way out , can anyone suggest a different way to do this, I have looked at creating a different main page for each selection in the menu list but this seems very long winded and perhaps just the ocassion to use a filtered database page.
I am using DW8 and the templates of the website are based on PHP, the main PHP page calling two "includes", one for the left menu and the other the main page, both straight HTML.
I have a database written in MS Access. During development I used a simple HTML page to display the contents of the database using a table with a repeat region. So I know I can connect to the database and I have the correct basic details to display the information. I was a little surprise when this HTML page could not be called (included) with the PHP command but then assumed the database must be in MYSQL for PHP to be happy. (Please let me know if this is wrong assumption).
I converted the database to MYSQL and wrote a simple PHP page to display the data. Again this works so again I know I can connect etc. However it does not work when I use this page as the "include" in the PHP template page.
Does anyone know where I have gone wrong?
The site is not yet live so I cannot give a URL .
For more background info; the main site has a left menu with associated data going in the centre. The pages in question forms the product section. I have a collapsable menu list on the left which is to call a new main section with a filtered list from the database. As a "chicken" way out , can anyone suggest a different way to do this, I have looked at creating a different main page for each selection in the menu list but this seems very long winded and perhaps just the ocassion to use a filtered database page.
