| PHP » GoLang | login |
            register |
            
            about | 
| GoLang DOMNode::appendChild
                                request it (729)
                            GoLang replacement for PHP's DOMNode::appendChild
                            [edit | history] 
                             DOMNode::appendChild(PHP 5, PHP 7) DOMNode::appendChild — Adds new child at the end of the children DescriptionThis function appends a child to an existing list of children or creates a new list of children. The child can be created with e.g. DOMDocument::createElement(), DOMDocument::createTextNode() etc. or simply by using any other node. Parameters
 
 Return ValuesThe node added. Errors/Exceptions
 
 ExamplesThe following example will add a new element node to a fresh document. Example #1 Adding a child 
<?php
 Example #2 Nested children 
<?phpSee Also
 
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |