i've connected this code with html form button
<?php
$old= "/Full"; $new= "/only";
if ( $_POST ) {
    $old= $new;
    header('Location: $old'); } 
else {
    header('Location: $old');
i want to save the inputs without sql some thing like Replacing the code with save but without database does it possible ?
my old question to understand Path changer in Admin Dashboard
 
    