I am using PHP and the built in XML parser functions to try to read some XML files. Then, using switch statements I make those elements actual HTML tags concatinated onto one variable called $body. I then echo that variable in an included HTML document to display in the browser as a web page.
The pages I am trying to display have several links (a href= ...) and when you click on them, they sometimes work and other times I get the "page cannot be displayed" error. If I then hit refresh, the page will display.
Has anyone seen this before? Why would the page only display when I hit refresh, but not when it is linked to?