Hi All,
I have been building a website that uses template pages which are populated using text stored in a mysql database.
Each of my links is similar to the following:
index.php?page_id=$page_id
However when I bring these links back from my database, the $page_id isn't replaced by the value of the variable.
I tried rewriting things slightly and using a line like this:
index.php?page_id=<?php print($page_id); ?>
And this also doesn't bring back the value of the variable.
I'm probably missing something very simple. If I am missing something blindingly obvious, please could someone tell me. I would be so greatful!!
Thanks,
Owen