include("../include/irm.inc"); AuthCheck("5"); if("$entry"=="add") { $comments = addslashes($comments); $query = "INSERT INTO software VALUES (NULL, '$name','$platform', '$class' , '$comments' )"; $adb->dbh_do($query); header("Location: $USERPREFIX/software/"); } commonHeader("ITC Software - Add Form"); PRINT "Fill out this form to add a new software package."; PRINT "