ok... how does it know what to recieve??
drytpl.php?term=jan
should show a table of diary events etc... so far i have nailed this code....
so far i have:
<?php //display date selecter
echo " <form action=\"drytpl.php\" method=\"get\">";
echo " <select name=\"term\">";
echo " <option value=\"sept\">September 2005 - December 2005</option>";
echo " <option value=\"jan\">January 2006 - April 2006 (Current)</option>";
echo " <option value=\"may\">May 2006 - August 2006</option>";
echo " </select>";
echo " <input type=\"submit\" \>";
echo " </form>";
//or if date selected show term
if ($_GET['sept']) {
echo "diary for sept - dec";}
if ($_GET['jan']) {
echo ("diary for jan - arpil");}
if (isset($_GET['may'])) {
echo ("diary for may - aug");}?>
it runs the get command, but as i don't know how to set this properly cos obviously im missing the 'term' bit. but i am unsure how to go about doing this??
edit: changes to code, get function to work