Jump to content

[SOLVED] My Hold Function :]


hungryOrb

Recommended Posts

Hello $ Good morning ;]

I'm making a hold function, which calculates time spent working on a job, simply by whether the 'Hold' checkbox is ticked or no. By adding up the times around the hold function, the total time spent can be calculated. There is no longterm storage in PHP tho, so I must use MySQL database to store the stuff.

However, if you think about it a little, you realise that the hold times must be able to stack, with no real limit. Does anyone know how I can start to put this together? I am a nub.

 

P.S. Previously I have queries that select * from database, if I add fields that can hold a LOT of DATES, it'll want to print that stuff with my other useful info. Obviously I could limit my SELECT, but is it possible that data can be stored in the database without it being in an actual field that is usually selected?

Link to comment
https://forums.phpfreaks.com/topic/72292-solved-my-hold-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.