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
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
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
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