Just wanted to ^bump^ this ridiculously prolonged flame-like thread
which will surely be annulled in the chronicles of PHP history
;-)
Michelle Konzack wrote:
Am 2006-05-12 11:58:37, schrieb JupiterHost.Net:
I was referring to building PHP/Apache in general *
What do you talking
Your message dated Tue, 16 May 2006 08:32:47 -0500 with subject Returned
mail: Data format error has been submitted to the moderator of the TEX-NL
list: Jules van Weerden, DIVA, VET, UU, NL [EMAIL PROTECTED].
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
Greets,
I'm trying to use the load data infile syntax within a php script. The data
is in csv format. I was under the impression that I could reorder the
fields during the insert, such as:
load data infile 'currentData.txt' into table(fieldName2, fieldName1)
fields terminated by ','; The stuff
Am Dienstag, 16. Mai 2006 17:40 schrieb [EMAIL PROTECTED]:
Greets,
I'm trying to use the load data infile syntax within a php script. The data
is in csv format. I was under the impression that I could reorder the
fields during the insert, such as:
load data infile 'currentData.txt' into
Am Dienstag, 16. Mai 2006 17:40 schrieb [EMAIL PROTECTED]:
I'm trying to use the load data infile syntax within a php script. The
data
is in csv format. I was under the impression that I could reorder the
fields during the insert, such as:
load data infile 'currentData.txt' into
PHP 4.4/MySQL 4.0
I am tying to convert a date to put into a database from a string (ie:
January, February) to a numeric value (ie: 01,02). I am taking the
value from a form, which is a drop down menu listing the months.
$sMonth1 = $_POST['Smonth']; returns the money selected from the form.
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