marcelha
Joined: 05 Aug 2008
Posts: 3
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
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
Posted: 2008-09-09 14:30
Back to top
Reply with quote
|
Great idea ...
and it works !!
Thanks
|
|
Post new topic
Reply to topic
|
|
|