[thelist] PHP/MySQL dates, times and autoincrements

David Kutcher david_kutcher at hotmail.com
Fri Apr 26 17:49:01 CDT 2002


Rather than make it overly difficult for yourself as a newbie, why not do
this:

1. insert the new customer (insert statement)
2. get the customer id back based on unique information or using multiple
fields to make sure you obtain the correct user (select statement)
3. insert the order with the customer id (insert statement)

Yea, there are other, better ways to do it, but as your tip said, why not
try the simplest route first, then move towards the complex?

David
www.confluentforms.com




More information about the thelist mailing list