J
|
Jane 1/17/2007 |
I'm afraid there is no easy way to do it. |
T
|
thesofa author 1/17/2007 |
I have read posts where the user wants to show a total on the page, so an extra "fake" field is added to the sql query along the lines of |
J
|
jim9 1/28/2007 |
Make another table, and have an id column same as your other table and of course this table will have it's own autoincrement column. Add the field(s) for purchases you want. Then use a custom event to add your code and perhaps a purchase date or whatever you need to add. Can be tricky, but it's doable. See the php manual for last inserted id, I forget exactly what it is called but some like that. Think of it as an order invoice program. You have a master for orders, and child table for the individual purchases that fall under this order. |
T
|
thesofa author 1/29/2007 |
Make another table, and have an id column same as your other table and of course this table will have it's own autoincrement column. Add the field(s) for purchases you want. Then use a custom event to add your code and perhaps a purchase date or whatever you need to add. Can be tricky, but it's doable. See the php manual for last inserted id, I forget exactly what it is called but some like that. Think of it as an order invoice program. You have a master for orders, and child table for the individual purchases that fall under this order.
|