Monthly Archives: February 2010

How To Assign The Current Date and Time to a MySQL Datetime Field using PHP

By | February 18, 2010

This is a no-brainer, but I always forget how to do it. MySQL datetime fields are stored in this format: 2010-02-18 10:33:18. Here’s a trivial example showing you how to populate a datetime field with the current date in the correct format, then write it to a table: Another question might be: “Why?” – when… Read More »

The jQuery UI CSS Framework – Part 2: How To Create Widget-style Boxes

By | February 3, 2010

This is the second post in a series on the jQuery UI CSS Framework.    Here’s the first one. Today I’ll show you how to create a nice looking box that has sort of a widget appearance to it. The jQuery UI components already provide similar functionality. For example, the Dialog Box is quite pretty, and… Read More »

How To Embed A Google Calendar Gadget In Your Web Site

By | February 1, 2010

Google provides two simple ways, other than you writing your own client code to talk to their APIs, to embed a calendar in your web page. One method is easily found by Googling for the info. This link explains how you can generate a piece of code directly from your calendar settings page, which you… Read More »