I am getting a fatal error like this.Can anyone tell what does this mean?
Fatal error: Uncaught exception 'DOMException' with message 'Not Found Error' in C:\wamp\www\sss \PHARMACY\LATES T PHARMACY\NEWDRG LIST\categorisa tion.php:127 Stack trace: #0 C:\wamp\www\sss \PHARMACY\LATES T PHARMACY\NEWDRG LIST\categorisa tion.php(127): DOMNode->removeChild(Ob ject(DOMElement )) #1 {main} thrown in C:\wamp\www\sss \PHARMACY\LATES T PHARMACY\NEWDRG LIST\categorisa tion.php...
User Profile
Collapse
-
Fatal error:Not able to solve it.
-
I have saved it using save() method for first xml file(test.xml).
The first set of data are stored in test.xml file ,i need to do some calculations upon data of test.xml using php . Now the calculated result must be stored either in same xml file(by overwriting existing data) or save to a new xml file.
How to get data from the test.xml file to store to test1.xml .
Thanks
Regards -
overwriting in xml file
I am doing a PHP DOM application.On basis of query some huge datas are selected and they are stored in an xml file.After doing certain calculations on this data i need to remove the existing data and replaced it with new one or is it possible to write the calculated data to another xml file.If so how can i do that.I tried many methods.But not getting worked.And this process of calculations and xml updations occur freqeuntly until some conditions... -
how to do the task in either DOMDocument or SimpleXML?Can you please help me with an example?
And problem is with 3rd and 4th node.That is contribution node and cumulation node.Leave a comment:
-
...Code:<?php $i=0; $sum=0; $dom = new DomDocument('1.0'); $books = $dom->appendChild($dom->createElement('books')); $qry = "select Drg_id,SUM(Consumption) from id_copy Group By Drg_id Order By SUM(Consumption) DESC"; $res = QrySelect($qry); while($arr = mysql_fetch_array($res)) { $Drugs = $books->appendChild($dom->createElement('Drugs')); $DRGIDLeave a comment:
-
hi...........
thanks......... ....
i have used DomDocument and also appendChild method.but still its working in the same old way........
the third node is created but not attached to parent nodeLeave a comment:
-
inserting node in XMl
hi..........
i am new to this.....i am doing a XML based application..i have two nodes and after doing certain calculations i need to add the third node.....the third node is created but it is not getting attached to parent node...it comes in the last section of program...what should i do........Thank s for any help....
No activity results to display
Show More
Leave a comment: