array()) : routine($PROCEDURE, $routine)); $row["name"] = $PROCEDURE; if ($_POST) { if (!$error && !$_POST["add"] && !$_POST["drop_col"] && !$_POST["up"] && !$_POST["down"]) { drop_create( "DROP $routine " . idf_escape($PROCEDURE), create_routine($routine, $_POST), create_routine($routine, $row), substr(ME, 0, -1), lang('Routine has been dropped.'), lang('Routine has been altered.'), lang('Routine has been created.'), $PROCEDURE ); } $row = $_POST; $row["fields"] = (array) $row["fields"]; process_fields($row["fields"]); } page_header(($PROCEDURE != "" ? (isset($_GET["function"]) ? lang('Alter function') : lang('Alter procedure')) . ": " . h($PROCEDURE) : (isset($_GET["function"]) ? lang('Create function') : lang('Create procedure'))), $error); $collations = get_vals("SHOW CHARACTER SET"); sort($collations); ?>

: " maxlength="64" autocapitalize="off">
" . lang('Return type'); edit_type("returns", $row["returns"], $collations); } ?>

>