@php in foreach
any idea why the $url-variable in between of @php is not working?
Exception: Trying to get property 'content' of non-object
@foreach($position->url as $url)
$content = $url->content;
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!