Parse a PHP file as an XML file?

That is where your problem is. This does not execute xml. Php but attempts to parse that file -- the PHP code that you've written -- as XML.

Obviously (since it isn't XML) this won't work.

Simplexml_load_file will try to actually load the php contents of the xml. Php file. It will not run that file first.

You need to do some rewriting or use this ugly solution.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions