Skip to content
Advertisement

Laravel query not using where clause for date

I have made a laravel query which gets all the data but does not use the where clause for $startdate.

Without the start date working it just gets all the data which is not really the idea. Any idea how to fix?

Advertisement

Answer

Try this:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement