
 Thomas Jakober - 2009-08-21 20:17:48 - 
In reply to message 1 from mauroThe structure depends on your application. How it works is explained in the comment of the class. The example table has the following structure:
Field 	Type 	Null 	Key 	Default 	Extra
id 	int(10) unsigned 	NO 	PRI 	NULL 	auto_increment
parent 	int(10) unsigned 	NO 	  	NULL 	 
disp 	text 	NO 	  	NULL 	 
country 	int(10) unsigned 	YES 	  	NULL 	 
make 	int(10) unsigned 	YES 	  	NULL 	 
model 	int(10) unsigned 	YES 	  	NULL 	 
serie 	int(10) unsigned 	YES 	  	NULL 	 
engine 	int(10) unsigned 	YES 	  	NULL