RE: [PHP-DB] Date Conversion

2006-05-16 Thread Ralph Brickley
A simple associate array would work as well, although not quite as elegent. $months_arr = array(January=01, February=02...); -Original Message- From: Mark Bomgardner [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 12:35 PM To: Php-Db Subject: [PHP-DB] Date Conversion PHP 4.4/MySQL

RE: [PHP-DB] Date Conversion

2006-05-16 Thread Ralph Brickley
ADDENDUM: To Convert your date string, use the associate array: $months_arr = array(January=01, February =02...); $month = $months_arr[February]; * Replace $months_arr[February] with $_POST[Month]; // Output $month = 01; Ralph Brickley -Original Message- From: Ralph Brickley

RE: [PHP-DB] Cannot connect to MySQL using

2006-03-29 Thread Ralph Brickley
It looks right on the function use, but you may want to check the installation of the mySQL service to ensure you have the right setup. There is normally always a password on root. Also, I would be a little more careful of pasting your IP Address into a message forum. I'm sure we are all honest

[PHP-DB] MySQL - Unable to run service

2006-03-15 Thread Ralph Brickley
I have been using MySQL for quite some time and am now running Server 4.1. I have been developing custom web-based software for a customer and recently moved their server to a different machine. I have everything running smoothly EXCEPT for mySQL. Any time I try to start the service I get an