DeanWhitehouse Posted October 7, 2008 Share Posted October 7, 2008 This is no longer working in php 5, is there an alternative to it? Quote Link to comment Share on other sites More sharing options...
DeanWhitehouse Posted October 7, 2008 Author Share Posted October 7, 2008 Is there no alternative? Quote Link to comment Share on other sites More sharing options...
DarkWater Posted October 7, 2008 Share Posted October 7, 2008 $dom = new DOMDocument('1.0'); Please read the manual. =/ Quote Link to comment Share on other sites More sharing options...
DeanWhitehouse Posted October 7, 2008 Author Share Posted October 7, 2008 I did, i looked in the PHP 4 to PHP 5 section and under domxml_new_doc() function, couldnt see it. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted October 7, 2008 Share Posted October 7, 2008 It says that domxml_new_doc() returns a DOMDocument. I clicked the DOMDocument link and read the class structure, then clicked on DOMDocument::_construct to see the function syntax. =P Quote Link to comment Share on other sites More sharing options...
DeanWhitehouse Posted October 7, 2008 Author Share Posted October 7, 2008 I didn't read much, more skimmed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.