I obtained some data from db using find() method... the data contains 2 rows named "controllers " and "actions" ....now i want to pass this data in a 2-D array....i got stuck in the loop itself How to do it??? Please help!!!!
$check = AccessRole::find("role_id=1");
$count = count($check); // for my data....numbers rows obtained is 57
$resources = array(); // 2-d Array where i want to pass the data...
for ($i = 0; $i < $count; $i++) {
}