Re: [PHPTAL] Conditions inside php:

2009-10-22 Thread Kornel Lesiński
On 22-10-2009 at 12:07:27 Michał hosema...@poczta.onet.pl wrote: I want to set condition that consists of two parts like:( conected with ) tal:attributes=selected php: id_country_val == option id_country_val != false OR something like this: tal:attributes=selected exists:

Re: [PHPTAL] Conditions inside php:

2009-10-22 Thread Tjerk Meesters
Within php: context you should use option[0] instead to get the first element of the option array On 10/22/09, Kornel Lesiński kor...@aardvarkmedia.co.uk wrote: On 22-10-2009 at 14:09:42 Michael hosema...@poczta.onet.pl wrote: One more thing: My select statement: select name=id_country