Hi,
I have the following problem.
I am trying to include a page in my home.php page.
But the path to the included page is dynamic, and depends on what value is in my table: template.
Basically, if I put:
include('templates/t0/index.php'); ?>
all is well.
t0 is the value stored in my template table.
But I need this to be picked up dynamically as this value is user defined.
When I put:
include('templates/$row_template['name']/index.php'); ?>
I get parse errors.
Can you help? how do I include a file with a dynamic path?
Thanks,
Vinny