View Single Post
  #2 (permalink)  
Old November 29th, 2006, 10:11 AM
carlolsen carlolsen is offline
Authorized User
 
Join Date: Jan 2004
Location: Des Moines, IA, USA.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As written, the tables all need an "id" column. However, you could modify this code to include the table name, an underscore, and "id" appended to the end and get the same result. The only reason the first column name needs to be "id" is because all the SQL statements are hard-coded that way.

Carl Olsen
www.carl-olsen.com