"Title : ", "name" => "title", "value" => $note_title), array("label" => "Public ? ", "name" => "public", "type" => "checkbox", "checked" => $note_public), array("label" => "Text : ", "name" => "text", "type" => "textarea", "value" => $note_text), array("label" => "Preview : ", "name" => "preview", "type" => "submit", "value" => "Preview"), ); $validate = "Edit note"; require("tpl/notes/edit.php");