| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Accredited PayPal World Seller|
|Getting node values as a string (XML)|
| 11:40 pm on Oct 2, 2009 (gmt 0)|
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.
| 7:26 pm on Oct 3, 2009 (gmt 0)|
This isn't really my thing, but how are you trying to test and see if it's set?
| 8:52 am on Oct 4, 2009 (gmt 0)|
| 5:19 pm on Oct 4, 2009 (gmt 0)|
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.
© Webmaster World 1996-2013 all rights reserved