Need a custom WordPress theme? I'm available for freelance WordPress work.

Month: September of 2007

Aaron Robbins Adventures In Php And WordPress

Aaron Robbins Adventures In Php And WordPress1 Comment

Aaron Robbins Adventures In Php And WordPressPHP Scripts

Aaron Robbins Adventures In Php And WordPressSubscribe

September 13th, 2007

PHP Function: MySQL Row To Form

Need a quick way to edit mysql data with php? This php function takes the name of a mysql table as its input and then builds a unique form for each row in the specified table. The php function checks to length of each field’s data in order to determine if it belongs in a textarea or input field. A unique and valid html form is then built with a uniquely identified update button for each row. This php script does not process the updating it only handles getting mysql field data into editable forms quickly.
Download rowToForm.zip here.

Keep Reading PHP Function: MySQL Row To Form »
Aaron Robbins Adventures In Php And WordPress

Aaron Robbins Adventures In Php And WordPress3 Comments

Aaron Robbins Adventures In Php And WordPressPHP Scripts

Aaron Robbins Adventures In Php And WordPressSubscribe

September 7th, 2007

PHP Function: Time Based Background

Just like the time changing backgrounds that appear when using themes on iGoogle this simple function dynamically inserts css into the head of any web page to change the background and/or background image of an html tag, class or id based on the time of the day. One function call gets the job done with configuration variables to control server time offset (so the time is set to your local time) and the name of the tag, class or id you wish to add the background to.There are currently 6 times phases supported: midnight, dawn, morning, afternoon, dusk and evening. […]

Keep Reading PHP Function: Time Based Background »