Timer on support ticket

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
scott2211
Forum Newbie
Posts: 1
Joined: Wed Mar 18, 2009 6:11 am

Timer on support ticket

Post by scott2211 »

I'm writing some code for a support ticket system and I wanted to have a function that would track the time that a support ticket has been open (i.e. status of the ticket is set to open).

-timer autostarts when ticket's opened / autostops when closed
-stores time values in database
-each ticket has it's own timer with corresponding id

Anyone have any ideas as to how to approach this?

Any help is appreciated :)
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Timer on support ticket

Post by papa »

Two table fields, ticketStart, ticketEnd. When ticket is closed update table.
Post Reply