I want to change the variables in the column ->completedstatus in my mysql database to 1 with a click on a button. Those variables are 0 now. i only have an echo now of the Completed variable value.
<?if ($row->Completed == 1)
{
echo "Afgerond";
}
else {
echo "Niet afgerond";
}
?>
this will output the right thing. But how do i change the variable in the mysql database with an click on a button?