Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Using variables in the php file generated by phpmyedit

phpMyEdit General     Using variables in the php file generated by phpmyedit
Odoslať novú tému   Odpovedať na tému    
 
jorgee     Založený: 02.03.2004   Príspevky: 1  
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov