I have done task management software using php.now I would to like to write a php code to(restrict) set deadline date and time in users taskmanagement page by admin.Deadline date already entered by admin in the database.if the deadline date expired the user cannot access his task management page and this will be redirect to something like “you don’t have authorize to view ur page. Please contact admin”. Can you please give me idea to write a code.
User's login to management page should check DB table column to see if it is available or not. That is column which value is changed by admin.
So, when user logs in to account or even as logged in member click the link to management page (in case there is some area you can still visit), there should be also check to see the value of deadline_expired (I.E.) column. That can be date or boolean or some in code predefined INT.
On admin page I soppose you have edit user. Just add one more input field for deadline_expired column