| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Getting node values as a string (XML)|
I'm using this to get a node value which works fine
But if I want to check whether $title is set I'm given an error saying $title is not a string even though it will echo as a string.
This isn't really my thing, but how are you trying to test and see if it's set?
Try testing with this...
var_dump( $title );
That will tell you what type of object the title is, as well as all of its contents.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved