Hello all,
I'm trying to add 24 hours to the current time and save it in a mysql database.
The datatype of the column im saving the information to is 'timestamp'.
I think the problem might be that im not sending the information in the correct format to the column.
I gave this a try but it just results in the a blank page on loading
<?
$timestamp = timestamp() ;
$timestamp1 = $timestamp + 24 * 60 * 60;
?>
<?
(database connection)...
$sql="INSERT INTO proposal (tomorrowtime)
VALUES
('$timestamp1')";
?>
Just wondering if anybody could suggest where im going wrong?
Any help would be greatly appreciated
many thanks