| Index
» Projects
» phpMyEdit
» Forum
» Conditional Lookup |
 |
Paulinho Cé
Joined: 22 Feb 2013
Posts: 3
Posted: 2013-03-12 13:01
Back to top
Reply with quote
|
| Code: |
$opts['fdd']['cidade'] = array(
'name' => 'Cidade',
'select' => 'T',
'maxlen' => 30,
'sort' => true,
'values' => array(
'table' => 'cidades',
'column' => 'nome',
)
);
$opts['fdd']['cod_cidade'] = array(
'name' => 'Cod cidade',
'select' => 'T',
'maxlen' => 11,
'sort' => true,
'values' => array(
'table' => 'cidades',
'column' => 'cod_cidade',
'filters' => "cod_cidade = ???????"
)
);
|
?????? = $opts['fdd']['cidade'] = array() (item selected)
I want to select the city in the first field and want to appear only the
city code selected in the second field.
Where I capture the value of the selection of the first field?
Filter is the correct way to display the corresponding code in the second
field?
Please give me some help and I will be immensely grateful.
Thank you and congratulations
Paulo
From Brazil
|
|
Post new topic
Reply to topic
|
|
|
|