Hi,
I have a PHP genealogy (Family History) program/script that allows users to add their family ancestor details and photos. Information is stored in MySQL database tables and dynamically displayed with PHP. Basically the program allows selection of families to view or search etc. So therefore many families can be added. It uses the same template throughout the site, which is basically made in Dreamweaver.
I would like to offer some users their own specific homepage (Different design & colours, family photos, Family history etc). The problem is I am useless at PHP (newbie) and am looking for a way to change the template depending on the link.
For example, on the main site page there would be numerous links to specific family pages. When someone clicks the FAMILY link, the specific php page would come up, then when they then click on another link
(sample: www.anysite.net/getperson.php? personID=I354&tree=1) (Notice that each Family Page would have a nominated number (here &tree=1)) the assigned template would come in and be kept throughout the users session, until it ends.
example:??
www.anysite.net/settemplate.php?templatenumber=1
I have used settemplate.php, believing that I need some php code to fix the template? (told you I was a newbie!)
Can anyone help me please,
Many thanks,
Dave