Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Th PHP sample movie database is not the same thing as the code example you posted with the question. The PHP samples are set up to illustrate PHP object-oriented programming, and are provided to give us a stable platform for the illustrations. It's an apples to oranges comparison that we have here.

PHP Objects have nodes, sometimes called properties or branches/twigs/leaves. PHP Arrays have keys and values. For better or worse, PHP uses different notation to refer to these different data structures, and each of the data structures can be nested inside the other. The square bracket notation is used to append a value (and optionally a named key) to the end of an array. Install this, run it, and look at the output to see the before-and-after for the array.

<?php // demo/temp_cescentman_array.phperror_reporting(E_ALL);echo '<pre>';// SEE http://www.experts-exchange.com/Programming/Languages/Scripting/PHP/Q_28555254.html// AN ARRAY OF THREE ELEMENTS, BY DEFAULT THESE WILL HAVE NUMERIC KEYS$arr = array('A', 'B', 'C');var_dump($arr);// ADD AN ELEMENT TO THE END OF THE ARRAY$arr['NEW THING'] = 'NEWLY ADDED ELEMENT';var_dump($arr);

OK here we go. I have a great deal of respect for the depth of your knowledge (which far outweighs mine) and the detailed, well organised and superbly annotated examples you give. And I am sure that the point accolades you have gathered are well merited. What I have noticed however is that you have a tendency to provide answers to question that aren't being asked.

Your explanation was effective and I understood the answer and it helped me move on. However I think from my first post it was fairly unambiguous that my question was on how to use addchild(). It is my feeling that instead of this you assumed I was misunderstanding the issue and spent time trying to instruct me on something I didn't ask for or need,: how to resolve the matter as an array. The question "Why do you want to use addChild()? What do you expect it to do for you?" would have saved us both much time had it been asked at the outset; even better if you had just provided the last answer minus the red herring of the first lot of code.

I have no wish to sound ungrateful for the immense help you have given me and others including the impressive array of briefing documents you have written but communities are just that, communities not hierarchies.

And you gave an example that clearly showed that addChild() was the wrong tool for the data you showed us in the question. We cannot add nodes to arrays. PHP does not work that way. It's kind of hard to know what you know and what you don't know, or exactly where you're going with a question like this, unless we have some dialog about it. Unfortunate as it may be, I was at the php[World] conference every day of the week and had only limited time to donate to E-E throughout.

Featured Post

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Popularity Can Be Measured
Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients. This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…