Jump to content

Passing Variables


michaelcunning

Recommended Posts

hi there,

  I'm very new to php but am having a problem! I have a page that contains a form with blocks of text within labels and each block having it's own push button. The reason being that each block has information about a gift voucher and the user pushes the push button associated with the block to 'apply' for the gift voucher. Upon pushnig the button, I want the user to be presented with a page that contains the info from the block so it can be emailed.

Basically, I am looking to know how you pass the text from within a label (or labels) to a page using php or whatever. When I change the labels to text boxes, it passes to the new page fine using $_POST etc but when the text is contained within the labels it doesn't pass. Can anyone help or tell me whey $_POST won't work and what will? thanks in advance

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.

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