Jump to content

[SOLVED] How do you pass a hidden input?


ballhogjoni

Recommended Posts

How would you pass a hidden input and make sure it is set usiing php?

example:

<td align="center">
<form action="">
<input type="hidden" name="too_small_lead">
<input type="Submit" value="Too Small">
</form>
</td>

 

php code

 

$too_small_lead = $_POST['too_small_lead'];
if (isset($too_small_lead)) {
echo "hi I'm set";
}

 

My problem is that it is not echoing "hi i'm set"

Link to comment
https://forums.phpfreaks.com/topic/50394-solved-how-do-you-pass-a-hidden-input/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.