I dont know if I understand you correctly...but here's the code from the scripts that calls it. It is in index.php:
echo "<p class=\"title\"><a href=\"article.php?id=$articleID&issue=$latestIssue&p=$past\">".$row["title"]."</a><br>\n";
Where title is just a text.
id = int
issue = int
p = bool
Inside article.php, I'm trying to run a query:
$query = "SELECT section, title, article_text, source
FROM ARTICLE
WHERE article_id = $id";
This query doesn't work since $id is undefined. Hope this is what your asking for.