note 5385 deleted from function.date by jimw

From: Date: Fri, 02 Nov 2001 00:36:44 +0000
Subject: note 5385 deleted from function.date by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20040@lists.php.net to get a copy of this message
Inserting dates into ODBC databases: I set the field in which insert the date as a char (it doesn't create trouble). I used Todd's code to start with: $today = date(" j, g, Y"); PRINT "Today is the $today <Br>"; To insert it I use odbc_exec: $save = odbc_exec ($conn , 'insert into date_query(date_field) value ('$today')');

« previous php.notes (#20040) next »