FormClasses/info.php
2024-05-21 17:06:42 +03:00

23 lines
388 B
PHP

<?php
namespace src;
use Information;
require_once "src/Information.php";
$fileName = "Information.txt";
$fileModeOpen = "a";
$fullInformation = new Information();
$fullInformation->load($_REQUEST);
echo "<pre>";
print_r($fullInformation);
$string = $fullInformation->toString();
$file = fopen($fileName, $fileModeOpen);
fwrite($file, $string);
fclose($file);
require "table.php";