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
https://forums.phpfreaks.com/topic/80662-passing-variables/
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.