Code:
<tr><td><input class="buttonchenger" type="button" value="Checkup Winners" name="check"/></td></tr>
<tr><td><input class="buttonchenger" type="button" value="Create DB print" name="create"/></td></tr>
<tr><td><input class="buttonchenger" type="button" value="Update DB" name="update"/></td></tr>
you should have used type="submit" instead
and it's really a hard time reading through code with mangled braces >_<
PHP Code:
<?php
if (isset($_POST['check']))
{
echo 'test1';
}
else
{
if (isset($_POST['create']))
{
echo 'test2';
}
elseif (isset($_POST['update']))
{
checkValuesIntoDB1();
}
}
function checkValuesIntoDB1()
{
echo ' this is another test';
}
?>
looks better