Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 24th, 2007, 07:47 AM
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DomDocument is not working for me

Hello everyone...

I want to read my xml file.
I tried like this but failed

$dom = new DOMDocument('1.0');
$dom->load('text.xml');


it gives me these errors:

Warning: domdocument(): Start tag expected, '<' not found in /home/content/c/c/c/cccanup/html/nikul/index.php on line 8

Fatal error: Call to undefined function: load() in /home/content/c/c/c/cccanup/html/nikul/index.php on line 10


---
Please help me out.........
Waiting for reply

Thanks.
Nikul.





Similar Threads
Thread Thread Starter Forum Replies Last Post
window.opener working .... not working alyeng2000 Javascript How-To 5 January 5th, 2007 08:05 AM
Web.Config..Working or Not Working peace95 ASP.NET 1.0 and 1.1 Basics 1 September 18th, 2006 06:53 AM
XML using MSXML2.DOMDocument object pankaj_daga Beginning VB 6 1 May 26th, 2006 08:51 AM
Local COM working , but not working at Web Serv nagen111 .NET Web Services 3 February 19th, 2005 04:22 AM
Get Working Copy... not working Enkiel Classic ASP Basics 0 April 21st, 2004 01:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.