SyntaxFix
Write A Post
Hire A Developer
Questions
You can try to use the following code instead:
$pro= model_name::where('col_name', '=', 'value')->get();