FormClasses/info.php

20 lines
367 B
PHP
Raw Permalink Normal View History

2024-05-20 14:40:53 +03:00
<?php
2024-05-21 11:53:40 +03:00
2024-06-14 15:55:36 +03:00
use src\debug\Debug;
2024-06-26 11:34:47 +03:00
use src\dto\InformationDTO;
2024-06-14 15:55:36 +03:00
use src\file_db_driver\FileDatabaseDriver;
2024-06-26 12:42:42 +03:00
use src\models\UserModel;
2024-05-21 11:53:40 +03:00
2024-06-14 15:55:36 +03:00
require_once "vendor/autoload.php";
2024-05-20 15:11:17 +03:00
2024-06-26 12:42:42 +03:00
ini_set("display_errors", true);
error_reporting(-1);
2024-06-26 11:10:17 +03:00
//$fileName = "Information.txt";
//$fileModeOpen = "a";
2024-05-20 15:11:17 +03:00
2024-06-26 12:42:42 +03:00
$user = new UserModel();
$user->load($_REQUEST);
$user->save();
2024-05-21 17:06:42 +03:00
2024-06-14 15:55:36 +03:00
require "views/search.php";