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.

Link to comment
Share on other sites

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

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.