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  »  Posibility to use 'php' option combined with virtual column

phpMyEdit General     Posibility to use 'php' option combined with virtual column
Post new topic   Reply to topic    
 
marcelha     Joined: 05 Aug 2008   Posts: 3  
Post Posted: 2008-09-09 12:04
Back to top  Reply with quote     

Hello,

I tried to use the 'php' option to incluede php-code for a virtual column.
In this column I want to display the number of lines, that are present in another column with is a (multi-line) TEXT field.
But using when the 'php' option PHPMyEdit does not 'see ' the 'V' option of the Input-setting.

Using the SQL-option which works well with Virtual colums seems not pssible, since I cannot find a SQL-statement to count rows in a multiline text field.

Has anyone a idea ??

Thanks !!

 
michal     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2008-09-09 12:50
Back to top  Reply with quote     

a workaround should be combination of 'sql' and 'php' options: a dummy sql (never to be displayed) and real php.

 
marcelha     Joined: 05 Aug 2008   Posts: 3  
Post Posted: 2008-09-09 14:30
Back to top  Reply with quote     

Great idea ...
and it works !!

Thanks

 
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