The $doc2delete document typ" . "e has been deleted from the " . DOCS_DATABASE . " database.
\n"); - print("\n"); - # Redirect the browser... - print("\n"); + print("\n"); - print("\n"); } // END if else { - # Damn, query failed... - # Alert the user, and redirect browser to + # Alert the user, and redirect browser - print("\n"); } // END else } // END if else { - # In this case, this is the first call to the script, so we just - # need to display the interface for selecting which doctype to - # delete. - - # Display a title... + # first call to page print("Delete A Doctype
\n"); - # Get all of the doctypes... + # Get all doctypes $myRes = mysql_query("SELECT sdocname, ldocname FROM sbmDOCTYPE " . "ORDER BY ldocname"); if($myRes) { - # In this case, the query worked... - - # Make a little info box... - print("\n \n You can "
. "delete a doctype and all of its submissions and their "
. "elements. | \n"
. "