I'm developing a website using ccHost, and got trapped in a line:
    <table tal:attributes="class php: record/works_page ? 'style1'' :
'style2'  " >

 record/works_page contains a boolean value, and according to that, i
may apply style1 or style2.
I tried it changing the slashes into dots, but didn't work. I get the
famous Hebrew error:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in
on line 516

a line like <div tal:condition="not: record/works_page"
class="llista_cancons_titol"> has worked properly in the same context.
what's wrong in the first line, then?

Thanks :)


Eduard Gamonal

PHPTAL mailing list

Reply via email to