From: Ondrej J. <ne...@po...> - 2003-01-14 23:53:13
|
> $opts['fdd']['codcity'] = array( > 'name'=>'Codcity', > 'select'=>'T', > 'type'=>'int', > 'maxlen'=>6, > 'nowrap'=>false, > 'required'=>true, > 'default'=>'0', > 'sort'=>true > ); > $fdd['codcity']['values']['table'] = 'city'; > $fdd['codcity']['values']['column'] = 'code'; > $fdd['codcity']['values']['description'] = 'name'; Write $opts['fdd'] = $fdd; at the end of your field declarations or use $opts['fdd'] instead of $fdd for fields definitions. So in your case it should looks like this: $opts['fdd']['codcity']['values']['table'] = 'city'; $opts['fdd']['codcity']['values']['column'] = 'code'; $opts['fdd']['codcity']['values']['description'] = 'name'; Let me know, if that helps you. -- _/| Ondrej Jombik - ne...@ph... - http://www.nepto.sk - OJ812-RIPE <_ \ Platon SDG - open source software development - http://platon.sk `\| UNIX is user friendly. It's selective about who its friends are! '` |