Dunno if this will make sense, im new to PHP so bear with me 🙂
This is what im trying to do.
Im linking from one page to another and passing a value through the querystring. This value will be the name of a file that will be used as an include in the new page.
eg. going from PAGE1 to PAGE2 and passing the value ELEPHANT (have no probs with this)
the problem i am having is including the file called ELEPHANT into PAGE2. If it was a single page than no prob but it could be ELEPHANT1, ELEPHANT2, etc
im sure its just my attempt at coding 🙁 here is how ive been trying to do it,
{include "{$path}($includefile)";}
$includefile is the value passed through the querystring, (ELEPHANT or whatever)
and help greatly appreciated as im sure it is simple but it doing my head in 🙁