What do you mean with a pre-build static array?
Most script basically pass either variables used in a searchstring, or record ID values.
so if you see a link to:
..page.pgp?id=1
in page.php this happens:
$id = $_GET['id'];
$result = mysql_query("select * from TABLE where id = $id") or die(mysql_error());
J.