0
Help me... Thank you. This is the following I have an Api with Php + Sql and returns the data in Json. In my data you have two fields openRestaurante and closeRestaurante, opening hours of an establishment and closing time of the establishment how can I make this comparison of hours and return me only the open or closed message in my Json instead of returning me the registered hours?
Thank you so much for the answers, I wanted to ask if I put these lines of code inside my while of my code it would return me already open or closed ? Thank you
– Dan100