marcelha
Založený: 05.08.2008
Príspevky: 3
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
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
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
|
|
|