It is a interpreter "problem". "<?" is interpreted as php opening tag
Try this: > <?php echo "<?"; ?>xml version="1.0" encoding="utf-8"<?php echo "? > >"; ?> - Frank Am 15.05.2009 um 22:14 schrieb xhe: > > I want to create an atom feed, the first two lines are > > <?xml version="1.0" encoding="utf-8"?> > <feed xmlns="http://www.w3.org/2005/Atom"> > > > But whenever I browse it, I always got this error > > Parse error: syntax error, unexpected T_STRING in xxxx > > But if I removed the first line, it works fine. > > So for RSS feed, is the first line really mandatory? Why php always > point it as error? > > Thanks > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---