It should be:

<?php if (condition): ?>
  <h1>Hola hola hola</h1>
<?php endif; // with semi colon ?>

On Wed, Oct 7, 2009 at 2:58 PM, Avani <[email protected]> wrote:
>
> Hi all,
>
> I am working on symfony since last 1 month. Yday I just installed
> symfony to my other laptop. I dont know why I am getting errors in my
> templates which works for my pc.
>
> I am gettting errors everywhere when I used
>
> <?php if(condition):
>
> endif: ?>
>
>
> if I have used  <?php if{}  ?>  (traditional php syntax)  then it is
> working.
>
> Can anybody help me?
>
> Thanks in advance.
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to