Location: PHPKode > scripts > alarisMenu > alarismenu/alarisAdmin/mysql_menu.php
<? require_once("alaris_main_fns.php");
session_start();
check_valid_user();

if(isset($edit)){
   $query = "UPDATE alaris_menu SET title='$menu_title', width='$menu_width',
             url='$menu_url', target='$menu_target' WHERE parent_id='$edit'";
             
}else{
   $query = "INSERT INTO alaris_menu(title,width,url,target) VALUES('$menu_title',
             '$menu_width','$menu_url','$menu_target')";
}

db_connect();
mysql_query($query);
db_close();


$path = "../alarisAdmin/alarisAdmin.php?view=menu";
header("location:$path");

?>
Return current item: alarisMenu