
For context, I have two php files and one of which has the <form method="POST" action="action.php"></form>. In my understanding when a button is pressed inside my form the name of the button is sent to action.php. This will then trigger the if(isset($_POST[‘name’])){ code… }. This part works fine and as expected but the problem is ..