On 12 Aug 2011, at 01:06, vagn scott wrote: > On 08/11/2011 04:42 AM, Tom De Vylder wrote: >> # cat include/init.php >> <?php >> $dbhost = '<%= app_dbhost %>'; >> $dbname = '<%= app_dbname %>'; >> $dbuser = '<%= app_dbuser %>'; >> $dbpass = '<%= app_dbpass %>'; >> ?> >> > > Surely you mean (note the dash (-) ): > > <?php > $dbhost = '<%= app_dbhost -%>'; > $dbname = '<%= app_dbname -%>'; > $dbuser = '<%= app_dbuser -%>'; > $dbpass = '<%= app_dbpass -%>'; > ?>
I've always used the one without the dash. Anyways, I do get the same error using -%>. Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.