Geronantimo
Technical User
Hi,
I'm sure this is relatively simple, but my search on the forum for the terms "include" and "variable" are probably too vague for me to find the answer.
I have a page with the following include:
This works fine.
I would like to add a variable to the end of the "include" like this:
but this does not work. :-(
Going the actual page works fine.
I presume there is an error in the way I am writing the include.
Would anybody be kind enough to point it out to me?
I'm sure this is relatively simple, but my search on the forum for the terms "include" and "variable" are probably too vague for me to find the answer.
I have a page with the following include:
Code:
<?php include("upcoming.php"); ?>
I would like to add a variable to the end of the "include" like this:
Code:
<?php include("upcoming.php?user=jon"); ?>
Going the actual page works fine.
I presume there is an error in the way I am writing the include.
Would anybody be kind enough to point it out to me?