Question
help needed to replace existing website with database driven parts
Hello everyone,
I have a website containing roughly about 155 pages.. I made this in Dreamweaver MX over a year ago. It is however growing out of proportions and I wanted to integrate a search function and results page which would be linked to MySql throug PHP.
I bought books and studied hard over the past weeks and got my head around the database and display of the results. Fine there.
Have a look at the site : www.artgalore.co.uk
The idea is that on the "arts&crafts" info pages per medium, at the bottom, I would include a search option which would then offer the customer to locate a course e.g. for woodturning, per country, sorted by type (residential courses or private tutoring). I have worked out the database with several linked tables and my queries are returning properly.
The problem lies in the design.
As you can see the background is a picture of shaded green, the lettering is done with css styles (which needs decluttering as I did this when developing the site as a pure beginner).
I made a test page with the extension .php and imported the css styles, modified the page properties (background), added pictures and tested the page with F12.... only to find that my results page gave the proper answers to the query BUT all the lay-out was gone. No pictures, no background, no styling of the letters.
Is this because of the way I checked the live material ? I also tried to look at my HTML pages as they were, of which I know that they are working fine, but the result was the same.. no lay-out, no CSS.
If this has to do with the F12 checking on the testing server... can someone please help me how to correct this.
I also have some other questions :
1. Do I have to rewrite my complete website on php documents or can I save my html pages with a php extension ?
2. Can I combine html and php pages (not all my pages are connected to the database) on my site ?
I hope someone here can help me urgently as I have spent way too much time on this already and need to get the adjusted site up very soon.
THANK YOU so much for helping.
Chris
I have a website containing roughly about 155 pages.. I made this in Dreamweaver MX over a year ago. It is however growing out of proportions and I wanted to integrate a search function and results page which would be linked to MySql throug PHP.
I bought books and studied hard over the past weeks and got my head around the database and display of the results. Fine there.
Have a look at the site : www.artgalore.co.uk
The idea is that on the "arts&crafts" info pages per medium, at the bottom, I would include a search option which would then offer the customer to locate a course e.g. for woodturning, per country, sorted by type (residential courses or private tutoring). I have worked out the database with several linked tables and my queries are returning properly.
The problem lies in the design.
As you can see the background is a picture of shaded green, the lettering is done with css styles (which needs decluttering as I did this when developing the site as a pure beginner).
I made a test page with the extension .php and imported the css styles, modified the page properties (background), added pictures and tested the page with F12.... only to find that my results page gave the proper answers to the query BUT all the lay-out was gone. No pictures, no background, no styling of the letters.
Is this because of the way I checked the live material ? I also tried to look at my HTML pages as they were, of which I know that they are working fine, but the result was the same.. no lay-out, no CSS.
If this has to do with the F12 checking on the testing server... can someone please help me how to correct this.
I also have some other questions :
1. Do I have to rewrite my complete website on php documents or can I save my html pages with a php extension ?
2. Can I combine html and php pages (not all my pages are connected to the database) on my site ?
I hope someone here can help me urgently as I have spent way too much time on this already and need to get the adjusted site up very soon.
THANK YOU so much for helping.
Chris
