lruneh
Jan 23rd 2009, 11:53 am
Hi all
I'm using simplexml to parse some feeds. Sometimes simplexml returns an error because the feeds - for whatever reason - can't be parsed by simplexml.
What I'd like is to discard the ugly errors that simplexml returns and display a custom error in stead. Could someone please help me with that? I've tried "or die()" and if(!$xml){}
any help would be greatly appriciated! Thanks
I'm using simplexml to parse some feeds. Sometimes simplexml returns an error because the feeds - for whatever reason - can't be parsed by simplexml.
What I'd like is to discard the ugly errors that simplexml returns and display a custom error in stead. Could someone please help me with that? I've tried "or die()" and if(!$xml){}
any help would be greatly appriciated! Thanks