How to optimize this PHP code?

But yeah i cant see where car was before and where it will be after this period :frowning:

Perhaps if that information is going to be required on a regular basis, it indicates that you need some changes to the database layout in order to make it run more quickly.

As for missing the before and after locations is that not simply a case of modifying the date range in the query that @TheRedDevil posted?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.