Good day! There is a form in which the user fills two text input fields and after pressing a button, these two fields fall into a
PHP array. The question is how to ensure that when the script is re-running, the values continue to be added to the array, rather than replacing the first value, and can it be implemented in
PS Tried through $ _SESSION, did not help.
$_SESSION['test'][$_POST[key]] = $_POST[invite]; print_r($_SESSION['test']);