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
Help needed when creating time sheet
Moderator: General Moderators
-
WilliamTaylor1o
- Forum Newbie
- Posts: 1
- Joined: Wed May 23, 2018 3:11 pm
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Help needed when creating time sheet
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?)
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)