Tag Archive | "array"

PHP : Array to Object

Tuesday, May 6, 2008

4 Comments

I 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

1 Comment

I 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 to append [...]

Continue reading...