UI Access
This update is automatically added to the Insert/Update Record Server Behaviors of the PHP/MySQL Server Model.
Shortly after starting to use the PHP/MySQL Server Model in Dreamweaver MX, it occurred to me that the DATE type in the insert/update behaviors did not work properly in some cases. We were constantly adding code to the behavior to make it work correctly. This extension updates the edml file responsible for setting the DATE type and makes sure it is in the YYYY-MM-DD format.
The advantage you ask? A user can enter a date in almost ANY format and it will be properly formatted to the MySQL date format!
March 14, 2004 - I've made an alternate version which stores the MySQL date in the YYYY-DD-MM format as so many european users have requested. Please see:
http://www.dmxzone.com/ShowDetail.asp?NewsId=6391
February 4, 2005 - Fixed a bug that kept upDate from recognizing previously used INSERT or UPDATE behaviors. You will still need to remove and re-add the behavior, but now it doesn't leave any artifacts behind.
Greg is the President & Owner of Stretched Out Software Inc, a flourishing web & multimedia programming company located in Jacksonville, FL USA. With a background in programming and a degree in Computer Animation, the internet has become my playground.
Unless otherwise noted, all of Greg's extensions are Mac & PC compatible!