Dave Smith - 2015-06-05 13:03:08 - In reply to message 1 from Simon
Since $htmlTree is in the global namespace, I highly recommend that you do not use it for your array to avoid clashing. Use $localTree instead.
Keep in mind that there is your way, their way and my way. I am currently doing it my way :)
I will eventually move it over as a class property, in the meantime the license allows you to take this FREE code and modify it however it best fits your needs.