SyntaxFix
Write A Post
Hire A Developer
Questions
read about the lists() method
$test=test::select('id')->where('id' ,'>' ,0)->lists('id')->toArray()