Help needed when creating time sheet

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
WilliamTaylor1o
Forum Newbie
Posts: 1
Joined: Wed May 23, 2018 3:11 pm

Help needed when creating time sheet

Post by WilliamTaylor1o »

I'm creating a timesheet in php, I need a logic to update the database, working as follows
1. Accept employee_id and date, from date to week number, database query with this input as follows
My task3 database contains and id, emp_id, p_name, time, taskdate
User avatar
Christopher
Site Administrator
Posts: 13592
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Help needed when creating time sheet

Post by Christopher »

You have one item with a bunch of stuff in it. Can you clarify and break it down more?

1. Form to accept employee_id and "date, from date to week number" (can you clarify the date choices?)

2. Query database for records matching employee_id and date criteria

3. Display results. (What is the difference between employee_id and emp_id? What is p_name? Why separate time and date?)
(#10850)
Post Reply