Location: PHPKode > scripts > phpMyAccess > phpmyaccess-1.5.3/phpmyaccess/test.php
<?php

/*
   YOU CAN USE THIS PROGRAM AS THE DESTINATION OF A FORM
   IT WILL LIST ALL THE POST VARS AND ALLOWS FOR EASY DEBUGGING
*/

function MyHeader ($menutitle) {
echo("<?xml version=\"1.0\"?>
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"
    \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\">
<head>
  <title>$menutitle</title>
</head>
<body bgcolor=\"#ffeb10\">
  <div class=\"main\">
  <h3>$menutitle</h3>
<hr width=\"30%\" align=\"left\"></hr><br/>\n");
}

function DisplayPostvars() {
  while (list ($num, $name) = each ($_POST)) {
     echo $num . " set to : " . $name . "<br/> \n";
  }
}

MyHeader("testing");

DisplayPostvars();
?>


</body>
</html>
Return current item: phpMyAccess