Jump to content

Insert To A Table In The Database


Recommended Posts

If anyone knows anything about oscommerce, please Read:

 

When the person selects all there products, and goes through the check out process, the first page they see is the Delivery Information page.

 

I modified the page to look something like this:

Image - http://tzfiles.com/users/ryan/checkout_shipping.gif

Where the circled textboxes, and images above were added.

 

You see the text areas in the image?

The text that gets placed in there needs to be saved to a table in the database, so I can retrieve them later.

Where would I place the insert to the table for that? I know how to write the code, I just don't know where to write it.

 

Please help me A.S.A.P.

 

Thanks for the Help!

Link to comment
Share on other sites

where are you going to retrieve this 'comment' from? as in, what will it be used for? will it be for public use, or designated for that particular user, that particular session, or that particular item? these are important things to know before any one of us can tell you where it should go.

 

i've never worked with oscommerce, however, i'd imagine that it has a CMS here you can add certain options to certain items, like a dropdown menu or checkboxes or whatnot. if this is the case, i'd advise adding this feature on the backend, not for a particular item on the frontend.

Link to comment
Share on other sites

Its for a particular item for a particular person.

 

When the user inputs what they want in the text box for each card comment, it will be saved in a database, and the owner of this oscommerce, will get to see it in the admin area, so she can place the text on an actual card to be shipped with the product.

 

does that answer your question? I'm not sure if I answered it or not.

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.