Skip to content
Advertisement

How can I get data using if else in laravel elequent

Suppose I have a Salary model contains column of month and year I want to fetch data like

How can I get in laravel elequent?

Advertisement

Answer

Try this

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