Type: Posts; User: Sagitario
Search took 0.01 seconds.
Thank bionoid, you are the best!!
Now it works all perfect. My code is now more smaller and easy to work it...
Thank you all, but the solution that bionoid have given was the one that I searching.
The only think that is not working is when is more that 8 days, the result is total_days / 7 and not...
Thank you for the support. The var and the switch expression help to short a little bit my code, I will implement that.
But the big part remains, I have to do a switch 3 times...
I need some help with my code.
I have everything working but I intend to turn it more simple and small.
I have a form that a user choose between two dates and the choose a category. Then...