Hi; I find manipulating time and date stuff between MySQL and php to be very confusing.
Say I've got time of day values in a MySQL database (TIME) field that returns me values like this:
07:30:00
15:30:00
12:00:00
So I pull these values with a query and want to add a number of minutes to them and store the result in another time field for a different purpose
Say
$time="15:30:00";
$mins=45;
How do I add $mins to time so it winds up correctly saying:
$time_plus_mins="16:15:00";
(all that str2time, mktime etc. stuff tends to get me in a real muddle for some reason) :o
Thanks. (It's tired and I'm getting very late)