Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Using variables in the php file generated by phpmyedit

phpMyEdit General     Using variables in the php file generated by phpmyedit
Post new topic   Reply to topic    
 
jorgee     Joined: 02 Mar 2004   Posts: 1  
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy