Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

problem with some php instructions

I have problem with these two lines:

if ($ny!=1) {$mn=$mn." ".$yr;}

The error message is:
Invalid keyword "mn"

Is it possible to find a solution ?

Friday, August 29, 2003

{{$$}$mn should do it, the embedded {$$} will be stripped out by the cityscript engine.

Lasse Vågsæther Karlsen
Friday, August 29, 2003

I think spacing will solve your problem.

{$variable      is citydesk.

if (condition)

is not

Adriaan van den Brand
Friday, August 29, 2003

*  Recent Topics

*  Fog Creek Home