Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31574

jwbrown on "custom page template code produces parse error"

$
0
0

I am making a custom template page with code that writes out an XML file that is used in a slideshow.

I have the code working outside of WordPress. I am now trying to get it to operate inside WordPress as a custom template.

$topoffile = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<juiceboxgallery\n\n\timportCaption=\"IPTC\"\n\timportTitle=\"NONE\"\n\n>\n\n";

The above variable definition, which will be the header of the XML file, produces the following error:

Parse error: syntax error, unexpected 'version' (T_STRING) in .....

Here is the link:

http://www.storytellingonline.info/testjuicebox2/


Viewing all articles
Browse latest Browse all 31574

Trending Articles