recent searches:
include functions ,
variable functions ,
post functions...
If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.
PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.
This functions appends a sibling to an existing node. The child can be created with e.g. domdocument_create_element(), domdocument_create_text() etc. or simply by using any other node.
Before a new sibling is added it is first duplicated. Therefore the new child is a completely new copy which can be modified without changing the node which was passed to this function. If the node passed has children itself, they will be duplicated as well, which makes it quite easy to duplicate large parts of an XML document. The return value is the added sibling. If you plan to do further modifications on the added sibling you must use the returned node.
This function has been added to provide the behaviour of domnode_append_child() as it works till PHP 4.2.
See also domnode_append_before().
Another Useful functions:
function.domnode-unlink-node | function.domnode-set-namespace | function.domnode-set-name | function.domnode-set-content | function.domnode-replace-node | function.domnode-replace-child | function.domnode-remove-child | function.domnode-previous-sibling | function.domnode-prefix | function.domnode-parent-node | function.domnode-owner-document | function.domnode-node-value | function.domnode-node-type | function.domnode-node-name | function.domnode-next-sibling | function.domnode-last-child | function.domnode-is-blank-node | function.domnode-insert-before | function.domnode-has-child-nodes | function.domnode-has-attributes | function.domnode-get-content | function.domnode-first-child | function.domnode-dump-node | function.domnode-clone-node | function.domnode-child-nodes | function.domnode-attributes | function.domnode-append-sibling | function.domnode-append-child | function.domnode-add-namespace | function.dom-domnodelist-item | function.dom-domnode-replacechild | function.dom-domnode-removechild | function.dom-domnode-normalize | function.dom-domnode-lookupprefix | function.dom-domnode-lookupnamespaceuri | function.dom-domnode-issupported | function.dom-domnode-issamenode | function.dom-domnode-isdefaultnamespace | function.dom-domnode-insertbefore | function.dom-domnode-haschildnodes | function.dom-domnode-hasattributes | function.dom-domnode-clonenode | function.dom-domnode-appendchild |
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.