Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Do php expressions work with dropdowns?

phpMyEdit General     Do php expressions work with dropdowns?
Post new topic   Reply to topic    
 
billguy     Joined: 26 Feb 2008   Posts: 4  
Post Posted: 2008-03-19 20:41
Back to top  Reply with quote     

I can't seem to get php expressions to work when using a drop down. However, they do work with a text field.

$opts['fdd']['virtual1'] = array(
'name' => 'Some label',
'values' => array('No', 'Yes'),
'input' => 'V',
'php|A'=> 'some.php',
'options' => 'A'
);


some.php:

return '<select class="pme-input-0" name="PME_data_virtual1" onchange="dosomething()" />';

Nothing happens, it renders the html as if it didn't bother looking at the php expression file.

Any ideas?

 
billguy     Joined: 26 Feb 2008   Posts: 4  
Post Posted: 2008-03-20 01:09
Back to top  Reply with quote     

resolved. don't use values.

 
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