I wonder whether this is too big a project for me but I will try.
I would like to create a PHP-script where I can enter when I met at work, when I went home and how long a break I had.
Then this should be multiplied with my hourly wage. For instance if I met at 10:00 am and left at 5:00 pm and had 1:00 hour break, my hourly wage would have to be multiplied with 6 hours.
On monday-friday after 6:00 pm, on saturdays after 3:00 pm and on sundays I have an allowance which I would like to be added seperately. We could call them $eveall, $satall and $sunall (cause they are different).
Finally I would like all this to be saved into a file and to be shown on my html-page with the script for each month from the 21th to the 20th (for instance should July be from June 21th to July 20th).
Could anyone help me with this?
Thank you very much in advance 🙂