Answer the question
In order to leave comments, you need to log in
How to deploy a collection in Laravel?
Hello!
Can you please tell me how you can expand the collection to access the elements of the request?
The gist is the following:
foreach ($id as $mac)
{
$nic[] = Networkcard::select(['mac', 'name', 'network', 'wol'])->where('mac',$mac)->get();
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question