I have a code that simplifies the website setup on my server
I want it adjusting so it links to the index page – but then can access any page on the table.
At the moment index.php queries a table (tbl_cda_site ) and gets the site ID (site_id) which relates to the url, then searches the main data table ( tbl_cda_mainpage ) and gets pages where site_id=$site_id – picks it the index page and uses mod_rewrite from then
The problem with this code is that it means that it will only link to pa…
