Jump to content

stumped on a form


RobDgital
 Share

Go to solution Solved by mac_gyver,

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

Edited by RobDgital
Link to comment
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • 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.