On 12-10-2008 at 11:21:18 Iván -DrSlump- Montes <[EMAIL PROTECTED]>
wrote:
The problem is probably that PHPTAL parser doesn't know how to correctly
process the PHP ternary operator.
No, it does.
In php: code / is a mathematical operator. You need to make it
record.works_page (if re
Edu,
The problem is probably that PHPTAL parser doesn't know how to correctly
process the PHP ternary operator. I suggest you try using a function to
accomplish the same:
function ternary($condition, $true, $false) {
return $condition ? $true : $false;
}
By the way, the Paamayim Nekudotayim
> I don't know what your Hebrew message says,
http://en.wikipedia.org/wiki/Paamayim_Nekudotayim
it's "double colon" in Hebrew.
> but if I were you, I'd use
> 'style1' instead of 'style1''.
sorry, that was a typo. I changed the desired class names for dummy
ones. Here's the line I'm using:
I don't know what your Hebrew message says, but if I were you, I'd use
'style1' instead of 'style1''.
Roman
On Sat, Oct 11, 2008 at 6:30 PM, Eduard Gamonal <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm developing a website using ccHost, and got trapped in a line:
>
>
> record/works_page contains a
Hi,
I'm developing a website using ccHost, and got trapped in a line:
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, unexpe