Jump to content

Required code for taking data from an HTML page.


pghtech

Recommended Posts

Can someone help get off on the right foot with a better understanding of what has to occur (PHP, and maybe some small HTML) to accomplish the following:

 

I have a website with a PHP Shopping cart (CubeCart) and would like to add a field during check out Labeled: "Send To:" with the options to choose "Me" or "As a Gift".  If they choose "As a Gift" then it would either generate a text area or 'enable' a text area to type a short message for how the recipient.  Then when they check out that data gets transmitted with the order notification that is sent to me that there was an order placed.

  • 2 weeks later...
If they choose "As a Gift" then it would either generate a text area or 'enable' a text area to type a short message for how the recipient.

 

Have a button with an onClick() function that calls a javascript function to generate a text field (plenty of tutorials on this).

 

As far as passing the data you can extract it from the session variables and some SQL queries.  Need some code to work with here if you want more specific help.

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.