Welcome Guest, Not a member yet? Register   Sign In
Date compare in scheduling emplooyee job
#2

Try to get the record from the database first using their ID that's if it is stored in the database.

PHP Code:
// Get users record by their id

if (record exists)
{
    // The user already is assigned show an error message
}
else
{
    // assign user to these dates


Something like that.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Date compare in scheduling emplooyee job - by InsiteFX - 09-05-2020, 03:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB