Jump to content

[HELP]Inserting two data in different table


Diether

Recommended Posts

Hi guys, Pls give me advice. Heres my problem. i have two data from same form(cart.php) that i want to insert in the different table in my database.

1. data came from the form( firstname,lastname,phonenumber etc.)

2. data came from session variable(item id, quantity, total etc)

when the customer clicks the FINISH button, the data will be insert in the two separate tables in the database.

pls give me an idea or sample codes on how to do that, thanks

Here's my screenshot of my form:

http://img6.uploadhouse.com/fileuploads/17206/17206849acfcfc9c2d269f15d122d96ab1f360bd.jpg

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.