What happens? Error messages please. Have you configured config\database.php correctly?
I use SQL 2008R2 at work with Laravel and Eloquent, it works fine.
AndrewBNZ said:
What happens? Error messages please. Have you configured config\database.php correctly?
No error, just omit this part
foreach ($data as $item) {
echo $item->descripcion;
}
i'd appreciate if you tell me what i must install and i do it.
my problem was
$data = Work1::all();
because that table had more than 50.000 register, so they never show up. and another problem that i have.
$model = Table1::where('FIELD1', '=', 123);
//i forgot ->get()
$model = Table1::where('FIELD1', '=', 123)->get();
//so this part never recive data
return View::make('layout.view1')
->with('data',$model);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community