jorgee
Založený: 02.03.2004
Príspevky: 1
Zaslal: 2004-03-02 14:57
Návrat hore
Odpovedať s citátom
|
I've a problem using variable in the script generated by phpmyedit.
Indeed in my code i have :
$login2 = "ok";
if ($login2 == "ok") { $test3 = "test";}
$opts['fdd']['de'] = array(
'name' => 'From',
'select' => 'D',
'maxlen' => 10,
'width' => '100px',
'sort' => true,
'values' => array($test3)
);
If i click on the button "add" this fiels will be empty ( nothing to be selected)
In the other case, If i wrote
$test3 = "test";
$opts['fdd']['de'] = array(
'name' => 'From',
'select' => 'D',
'maxlen' => 10,
'width' => '100px',
'sort' => true,
'values' => array($test3)
);
Then if i click on add button i will be able to see the value test for the field "de".
I don't understand why in the first case the value is not transmitted.
Please HELLLPPPP MEEEEeeeee!
Thanks in advance
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|