Hi there
In an application I have a page where a user can select how long an event goes
- i.e. 30 minutes, 45 minutes, 60 minutes etc.
In the MySQL database that I have two fields a starttime and a finishtime.
Currently I have the following sql to update the database
UPDATE tbl_bookings
SET starttime = #CreateODBCDateTime(form.startdate)#,
finishtime = #CreateODBCDateTime(form.startdate)#,
bookingstatus = '2'
Where bookingid = '#form.bookingid#'
This is at least giving me data in the finishtime column. What I am trying to
do is use the value selected by the user i.e. 30, 45, 60 etc and add it to the
starttime to get the finishtime but I have not succeeded.
Just wondering if anyone could offer suggestions.
Many thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292641
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4