Page 1 of 1

Using variables with simplexml

Posted: Fri Oct 31, 2008 3:52 pm
by bob1234
When you are using simplexml, are you allowed to print using a varible in the path?


Test prints 3 times (which it should because there are 3 display courses) but the second echo statment prints nothing. IS something invalid about it?

Re: Using variables with simplexml

Posted: Fri Oct 31, 2008 4:04 pm
by bob1234
Nevermind. It was a really dumb error on my part. I had to add one more level to the statement