Hi there
I'm having a bit of a problem. As the title suggests, I'm creating $_SESSION's such as
$_SESSION[''.$row[0].'']
dynamically which is working perfectly, but the problem is I don't know how to call that same variable on a template page that I click through to.
At the moment I have the following:
$query = "SELECT eid, title, content, image, image2 FROM diary WHERE eid = '".$_SESSION[''.$row[0].'']."'";
Clearly this isn't working because the session variable could be any of the id's pulled from the database on the previous page and therefore the template page shows no content. I need some way of tying the variable from the previous page to the variable on the template page without using symantic URL encoding.