PHP : Array to Object

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 :

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F39%2Fphp-array-to-object%2F’;
addthis_title = ‘PHP+%3A+Array+to+Object’;
addthis_pub = ”;

Wordpress : get_pages

The Wordpress get_pages function works similar to the get_posts function which fetches posts from the database by criteria. The get_pages function takes different arguments and allows you to take control of parent and child pages as you execute the function.

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F38%2Fwordpress-get_pages%2F’;
addthis_title = ‘Wordpress+%3A+get_pages’;
addthis_pub [...]