The Little Guy Posted April 19, 2007 Share Posted April 19, 2007 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! Quote Link to comment https://forums.phpfreaks.com/topic/47751-insert-to-a-table-in-the-database/ Share on other sites More sharing options...
boo_lolly Posted April 19, 2007 Share Posted April 19, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/47751-insert-to-a-table-in-the-database/#findComment-233225 Share on other sites More sharing options...
The Little Guy Posted April 19, 2007 Author Share Posted April 19, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/47751-insert-to-a-table-in-the-database/#findComment-233459 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.