function probs_agenda_edit_accept($pid, $datum, $tijd, $klantid, $description, $addby) {
global $admin, $bgcolor2, $prefix, $dbi, $multilingual, $result;
include ("header.php");
GraphicAdmin();
title("Problems - Agenda - Edit - Save");
probs();
Opentable();
$result = $db->sql_query("UPDATE ".$prefix."_probs_agenda SET datum='".date("Y-m-d", strtotime($datum))."', tijd='$tijd',
klantid='$klantid', description='$description', addby='$addby' where id='$pid' LIMIT 1", $dbi);
echo "Agenda item bijgewerkt";
echo "$result";
closetable();
include("footer.php");
} |