I have a form that has one hidden input field, the hidden field includes the value of email. the problem when the button clicked, the form didn't submit any values at all and nothing happens at all.
the HTML form as shown below:
<form method="post" class="table-responsive" action="alerts.php">
<?php foreach ($admins as $key => $admin): ?>
<input type="hidden" name="email" value="<?php echo $admin['email']; ?>">
<?php endforeach;?>
<button type="submit" class="btn btn-outline-light btn-lg btn-block add"
name="e_conf">confirm</button>
</form>
i tried to test if the form submit the values or not but set output message in the server side:
if(isset($_POST["e_conf"])){
echo "test";
}
but nothing displayed at all which I understood that the form didn't submit any values. I hope someone can figure out this problem thanks