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

if(isset($edit)){
   $query = "UPDATE alaris_users SET firstname='$firstname', lastname='$lastname',
             username='$username', password='$password' WHERE user_id='$edit'";
             
}else{
   $query = "INSERT INTO alaris_users(firstname, lastname, username, password) 
             VALUES ('$firstname','$lastname','$username','$password')";
}
db_connect();
mysql_query($query);
db_close();


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

?>
Return current item: alarisMenu