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

phpMyEdit General     Posibility to use 'php' option combined with virtual column
Odoslať novú tému   Odpovedať na tému    
 
marcelha     Založený: 05.08.2008   Príspevky: 3  
Príspevok Zaslal: 2008-09-09 12:04
Návrat hore  Odpovedať s citátom     

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     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2008-09-09 12:50
Návrat hore  Odpovedať s citátom     

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

 
marcelha     Založený: 05.08.2008   Príspevky: 3  
Príspevok Zaslal: 2008-09-09 14:30
Návrat hore  Odpovedať s citátom     

Great idea ...
and it works !!

Thanks

 
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