Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Getting node values as a string (XML)


optik - 11:40 pm on Oct 2, 2009 (gmt 0)


I'm using this to get a node value which works fine

$title=$title->item(0)->nodeValue;

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.


Thread source:: http://www.webmasterworld.com/php/4000260.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com