Thanks Lee and Fási...

I was using short tag a lot on templates files.. I won't use it more :)

Nei

On Thu, Mar 26, 2009 at 11:28 AM, Fási Gábor <maerl...@gmail.com> wrote:

>
> You have the short open tags php option enabled, so "<?" already
> starts the php interpreter, and you get a syntax error.
>
> On Thu, Mar 26, 2009 at 14:48, Nei Rauni Santos <nra...@gmail.com> wrote:
> > Hi,
> >
> > I did the day 15 of Jobeet today, and I got an error when it render the
> atom
> > template:
> >
> > Parse error: syntax error, unexpected T_STRING in
> >
> /var/www/sfprojects/jobeet/apps/frontend/modules/job/templates/indexSuccess.atom.php
> > on line 2
> >
> > It's because the template start like a php tag:
> >
> > <?xml version="1.0" encoding="utf-8"?>
> >
> > for it work i changed the code for:
> >
> > <?= '<?xml version="1.0" encoding="utf-8"?>'; ?>
> >
> > and it work..
> >
> > Is it correct??
> >
> >
> > thanks
> >
> > Nei
> >
> > >
> >
>
> >
>


-- 
Nei Rauni Santos
nra...@gmail.com
cel: (41) 9944-2745

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

Reply via email to