@neonwired nice to know it..
instead of calling me newbie (and it’s true), why don’t you explain what exactly is wrong, and what is the solution to be adopted.
Actually I’m a js developer, php is not my favorite language, would seem from what you say that you are a real Wizard of programming.
amaze me and give me a hand to make something good