I'm new to laravel my previous project i used Datatable Jquery Server side processing.
My table was
Id Name Age Status
1 Aaa 18 1
2 Abb 18 1
3 Acc 18 2
If am fetching result from database it in Laravel it retrieves following
array(
0=>object(stdClass){
["id"]=> 1,
["Name"]=> "Aaa",
["Age"]=> 18,
["Status"]=>1
},
1=>object(stdClass){
["id"]=> 1,
["Name"]=> "Abb",
["Age"]=> 18,
["Status"]=>1
} ,
2=>object(stdClass){
["id"]=> 3,
["Name"]=> "Acc",
["Age"]=> 18,
["Status"]=>1
} )
etc..,
But I need
array(
0=>{
1,
Aaa,
18,
1},
1=>{
2,
Abb,
18,
1},
,
1=>{
2,
Acc,
18,
1});
}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2EP9nQm
via IFTTT
Aucun commentaire:
Enregistrer un commentaire