Please provide lines 345 - 365 of C:\xampp\htdocs\td\apps\core\templates\layout.php would be helpful.
Jeremy On Tue, Oct 6, 2009 at 9:03 PM, Avani <[email protected]> wrote: > > Oh sorry, it was typing mistake. > > whole project is working in my 1 pc. When I copy the same into my > other pc, it is giving errors > > "Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\td\apps > \core\templates\layout.php on line 354" everywhere where I have > used > > <?php if(condition) : ?> > something > <?php endif; ?> > > > On Oct 7, 9:59 am, Sid Bachtiar <[email protected]> wrote: > > 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 Developmenthttp://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 -~----------~----~----~----~------~----~------~--~---
