I have put a business and shop listing (single table) together for a town which displays a simple text record for each entry. However some shops would like their own custom page which will be displayed in place of the plain text record. I have added a new field to the table called ownpage which has the path and filename of the custom page. What I want to happen is if there is a path and filename in the ownpage field then go there otherwise display the normal default text record.
The site is http://www.e-navan.com
Thank you for any direction or if you would like to see the code in question please let me know.