Skip to content

Instantly share code, notes, and snippets.

@DB-009
Created October 16, 2014 15:58
Show Gist options
  • Save DB-009/c4584794c8d9444379a1 to your computer and use it in GitHub Desktop.
Save DB-009/c4584794c8d9444379a1 to your computer and use it in GitHub Desktop.
$d='';
$datas = Input::get('data');
$i=0;
foreach($datas as $data){
$d += $data->index . $data->add;
}
return $d;
//data input example {"index":"index","add":"add","edit":"edit","delete":"delete"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment