Diky moc...
Kód: Vybrať všetko
if (isset($_GET['btn']) && !empty($_GET['btn'])){
$file = './peniaze.txt';
$person = "\n\n";
file_put_contents($file, $person, FILE_APPEND);
echo '<meta http-equiv="refresh" content="1;url=uvod.php">';
}Kód: Vybrať všetko
if (isset($_GET['btn']) && !empty($_GET['btn'])){
$file = './peniaze.txt';
$person = "\n\n";
file_put_contents($file, $person, FILE_APPEND);
echo '<meta http-equiv="refresh" content="1;url=uvod.php">';
}