If I am going to use date('U') to insert an epoch timestamp into a
mysql table, what is the appropriate field type to use?
thanks
charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I am going to use date('U') to insert an epoch timestamp into a
mysql table, what is the appropriate field type to use?
Integer.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm using the following code to insert date into my
mySQL table named "Booking". I've created variables
that store the date with dashes "-" seperating them.
But it's not working. It's giving me an error on the
$SQl line.
following is the code :
?php
$db =
What field type are you using to store time? Echo your $sql and compare it
to MySQL's documentation on the time column and how you have defined the field.
Miles
At 03:51 AM 3/5/01 -0800, Thomas Edison Jr. wrote:
I'm using the following code to insert date into my
mySQL table named "Booking".
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] ("Thomas Edison Jr.") wrote:
I'm using the following code to insert date into my
mySQL table named "Booking". I've created variables
that store the date with dashes "-" seperating them.
But it's not working. It's giving me an error on the
CC Zona [[EMAIL PROTECTED]] wrote:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] ("Thomas Edison Jr.") wrote:
I'm using the following code to insert date into my
mySQL table named "Booking". I've created variables
that store the date with dashes "-" seperating them.
But it's not
6 matches
Mail list logo