<form method="POST">
<input type="submit" name="submit1" value="Get Values"/>
<input type="hidden" name="action" value="getvalues" />
</form>
<?
if($_GET['action']=="getvalues")
{
show(); // <--- calling your function here;
}
?>
for what is the <input type="hidden" name="action" value="getvalues" /> for? and how will my page be loaded i can't seem to find how it is reloaded..


so i need to learn javascript for me to be able to call php functions?