function cancelEditClient($option) { global $database; $row = new mosBannerClient($database); $row->bind($_POST); // sanitize $row->id = intval($row->id); $row->checkin(); mosRedirect("index2.php?option={$option}&task=listclients"); }
function cancelEditClient($option) { global $database; josSpoofCheck(); $row = new mosBannerClient($database); $row->bind($_POST); $row->checkin(); mosRedirect("index2.php?option={$option}&task=listclients"); }