[Solved] DOMDocument : some basic questions [closed]

both are <div id=”one”> Note the all the h1, h2 and blockquote nodes are childs of this one. $dom->getElementById(0); would return the first element. $dom->getElementById(1); would return the second (if it existed) id is the name of an attribute in this tag <div id=”one”> Do not understand the question. what do you mean by single … Read more