verifySubmit('processed')) { global $db; $name = $form->request['name']; $text = $form->request['text']; $db->Query("UPDATE `rudi_awards` SET `name` = '$name', `description` = '$text' WHERE `award_id` = '$award_id' LIMIT 1"); PageRedirect(1, "?op=rudi&show=awards&award={$award_id}"); return; } echo LinkInternal("Cancel","?op=rudi&show=awards&cid={$award['class_id']}"); OpenTable(); ?> Name:textField('name', $award['name'], false, "50"); ?> Image: Text:textArea('text',10,30,$award['description']); ?> submitButton('processed', 'Update'); ?> __destruct(); ?>