Jump to content

hours worked..


techker

Recommended Posts

ya but what would be the php formula?cause lets say i make a database with monday input filed from to input field and it puts it in the database.

 

to pull it out

 

SELECT COUNT( `time` ) AS TotalNumber, SUM( `time` ) AS TotalPrice FROM `fc`; 

Link to comment
Share on other sites

problem..

 

every thing is working fine now..the only thing is that in my table time, i created field from_m1,from_m2..that represents from..

 

and 7 more to_m1,to_m2.. that represents the to in the days..

 

so i have this monday input filed(from_m1) to  input filed(to_m1)

 

now if i have more then one entry it screws up cause it show both.

 

i need to assosiate monday to form_m1 and to_m1 and tuesday to form_m2 and to _m2......

 

i make one table week 1 and put the fields in that one.

 

so the second time would go in week 2.....

 

the only thing is for that to be associated ?(guess something like a drop down menu with week 1 week2 week 3 week 4 week 5..)

 

the place that i would jam is how to determine if he selected week 1 to insert the data in that table..

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.