User Profile

Collapse

Profile Sidebar

Collapse
scn87
scn87
Last Activity: Nov 30 '08, 07:41 AM
Joined: Oct 28 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • scn87
    started a topic Fatal error:Not able to solve it.
    in PHP

    Fatal error:Not able to solve it.

    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...
    See more | Go to post

  • scn87
    replied to overwriting in xml file
    in PHP
    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
    See more | Go to post

    Leave a comment:


  • scn87
    started a topic overwriting in xml file
    in PHP

    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...
    See more | Go to post

  • scn87
    replied to inserting node in XMl
    in PHP
    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.
    See more | Go to post

    Leave a comment:


  • scn87
    replied to inserting node in XMl
    in PHP
    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')); 
    	 $DRGID
    ...
    See more | Go to post
    Last edited by Markus; Nov 13 '08, 09:49 AM. Reason: added # tags

    Leave a comment:


  • scn87
    replied to inserting node in XMl
    in PHP
    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 node
    See more | Go to post

    Leave a comment:


  • scn87
    started a topic inserting node in XMl
    in PHP

    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....
    See more | Go to post
No activity results to display
Show More
Working...