Hi all, I'm hoping someone may provide the answer to a problem which is REALLY doing my head in. I'm a php beginner, so I need stuff in simple terms if poss.
Basically I have a .php page which is set to 'include' a file. But, I want that file (the one to be included) to be determined in the URL, e.g...
www.mysite.com/page.php?include=product1
...would 'include' a text file named product1.
I don't know how this can be done, or whether it uses the 'include' function at all, so if anyone could tell me how it could be achieved, or point my towards some links that would assist me, I'd be most grateful.
Regards, Andy, Nottm. U.K.