PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Jun 18, 2018 9:59 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed May 23, 2018 3:15 pm 
Offline
Forum Newbie

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


Top
 Profile  
 
PostPosted: Wed May 23, 2018 11:51 pm 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13561
Location: New York, NY, US
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)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group