Hi,
I'm using the script...
<?php
require_once("folder/page.htm");
?>
to 'include' files in different directories. BUT it returns a parse error when I try to pass the page to be included in the URL. So:
<?php
require_once("$page.htm");
?>
Will NOT work. Unhelpfully and ambiguously for a novice like me, the error message says that...
Parse error: parse error, expecting `T_CONSTANT_ENCAPSED_STRING' in /home/m/mitya/public_html/page.php on line 196 (line 196 being the line with the code on).
The gist of it is this: How do I 'include' (or require) files that are defined by a $ in the URL and which might be in other folders.
Thanks in advance.