Hi,I am developing a site from a template I bought. The site can be seen at http://khmotors.kilmorewebdesign.com. I copied the page "Current Cars" (results.php) and the "view.php" page (when you click on a result in the "Current Cars" page, it opens the car in results.php) and pasted it for the "Commercial Vehicles" page (commercialresults.php and also commercial.php for view.php). When I click on a car in "Commercial Vehicles" page, it tries to open the car in the view.php instead of commercial.php. This means that it tries to read the car from the wrond sql table, and does not display. Please can someone help me to work out what needs changing to fix it (to change it to point to commercial.php, I think).The 4 mentioned php files are in a zipped file at http://khmotors.kilmorewebdesign.com/script.zip Thank you, TAJ
Hi,the source is in the zipped file at http://khmotors.kilmorewebdesign.comThat only contains the 4 mentioned files... do I need to add all the file's source?
I may be on my way to working out a solution: Both files are looking for view.php, so if I can edit the view.php to show both tables (and select the one which holds the info), then it should work... does anyone know how to do this?