jorgee
Joined: 02 Mar 2004
Posts: 1
Posted: 2004-03-02 14:57
Back to top
Reply with quote
|
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
|
|
Post new topic
Reply to topic
|
|
|