Tag Archive | "array"

PHP : Array to Object

Tuesday, May 6, 2008

23 Comments

ShareI wrote a quick and simple function which allows you to quickly convert arrays to objects. It allows you to change an array like this :

Continue reading...

PHP : Cannot use a scalar value as an array

Tuesday, February 26, 2008

6 Comments

ShareI was working on a WordPress plugin today and came across the most disturbing PHP warning error which I have never seen before in all the time that I’ve worked with PHP. The warning error message was : Warning: Cannot use a scalar value as an array What caused this error was when I tried [...]

Continue reading...