A little earlier I posted on MakeYouGoHmm but you can see below that we’re going to start
adding Code snippets to be added to Script School News:

From time to time myself, and a few other folks are going to start posting small code snippets to serve as real world examples of how to use built-in functions, variables, arrays, DB connectivity, etc in PHP and other scripting languages at the Script School News blog.

I’m excited about using this to help sharing. If you’d like to get involved and share your own original snippets demoing small uses of functions for various coding languages and databases, then please drop me an email at principal at scriptschool.com and I’ll get you an author account.

Here’s a few snippets for Wordpress 1.5 to grab the post ID and post_date inside The Loop:

$post_id = $post->ID; // returns ‘13′
$post_date = $post->post_date; // returns ‘2005-03-18 12:13′