Jump to content

stumped on a form


RobDgital

Recommended Posts

Please could someone PLEASE tell me why I am not getting this $_POST[] variable from this form
 

<form style="padding-top:30px;" action="petdetails.php" method="post" name="finder">
<fieldset>
<div class="form-group">
<label for="postedId">QRCode</label>
<input type="text" class="form-control" id="postedId" placeholder="QR Code" />
</div>
<button type="submit" class="btn btn-info">Submit Code</button>
</fieldset>
</form>

 

I am trying to pick it up on the relevant page with this

 

$bobby = $_POST['postedId'];
echo "What the actual f bobby: ".$bobby;

 

Excuse the 'f' but I am a little frustrated. lol

Link to comment
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.