Hmm... that fixes it but it's a shame that doesn't work properly straight away. Can I assume that's a known bug? Hopefully they'll have it fixed in future releases of PHP.
Thank you for your help.
-Chris
Search found 2 matches
- Wed Jul 26, 2006 9:33 am
- Forum: PHP - Code
- Topic: Unusual echo bug? What am I screwing up?
- Replies: 3
- Views: 289
- Wed Jul 26, 2006 9:10 am
- Forum: PHP - Code
- Topic: Unusual echo bug? What am I screwing up?
- Replies: 3
- Views: 289
Unusual echo bug? What am I screwing up?
I'm not sure if my problem is with SimpleXML (doubtful) or something goofy with the echo function but the following code snippet produces unusual results: <?php $xml = simplexml_load_file("test.xml"); // Next line prints: // Accepted Formats: ->format[0] echo "Accepted Formats: $xml->...