Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to grab a hidden fields value using PHP

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'] . '" />
like image 552
TaG Avatar asked Apr 28 '10 13:04

TaG


People also ask

How Hidden fields are used in PHP?

A hidden field let web developers include data that cannot be seen or modified by users when a form is submitted. A hidden field often stores what database record that needs to be updated when the form is submitted.

How do I view hidden fields?

Select the adjacent columns for the hidden columns. Right-click the selected columns, and then select Unhide.


1 Answers

exactly like a non-hidden value.

$_POST["delete"]
like image 75
o0'. Avatar answered Sep 23 '22 18:09

o0'.