I was wondering how can I grab the value from a hidden field using PHP?.
Here is the hidden field.
<input type="hidden" name="delete" value="' . $row['delete_id'] . '" />
I was wondering how can I grab the value from a hidden field using PHP?.
Here is the hidden field.
<input type="hidden" name="delete" value="' . $row['delete_id'] . '" />
I assume the hidden field is in a form. So give it an id and do it like you normally would get the value from an input field
$_POST["delete"]
if you use post method use $_POST['delete']; if you use get method use $_GET['delete']; Or for both method use $_REQUEST['delete'];