0
I read some articles and saw this way, but it is not correct giving the following error:
(1/1) Errorexception Undefined offset: 1
@foreach($palpites, $confrontos) as ($p, $c))
<tr>
<td> {{ $p->diadojogo}} </td>
<td> {{ $p->timea }} </td>
<td> {{ $c->diadojogo}} </td>
<td> {{ $c->resultado}} </td>
</tr>
@endforeach
What articles have you read? Searched on official documentation? It doesn’t even contain this syntax you used.
– Woss
Post the article where the
foreach
interacts in two lists?– novic