Yes, do you actually mean can we write it for you?
To do this check for a session (which is set when logging in) then use a session to get that users details, if the session is not present then tell them they need to log in
Ok then run a query to get the details from the database using their id (or whatever you are setting in the session) in the query to get the correct users info
one way would be to use PHP to find every monday between the two times, using string to time function, to improve that i would have it loop through the dates going from the start to the end adding one day at a time until it hits the first monday and from there add 7 days at a time, and record the dates for mondays in an array
You should also learn how to name variables with relevant names and write code that can be understood by any programmer, then you will get help quicker
I thought the names in the db were stored as
name_one etc..
So doing implode(' ,',str_replace('_',' ',($fieldArr))) will look for the word as name one not name_one
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.