Support the ongoing development of Laravel.io →
posted 6 years ago

I really am unsure of where I've gone wrong here?!

@if(isset({{$pub['pubweb']}}))
                <a href="{{$pub['pubweb']}}">Web</a>
            @endif

any help much appreciated!

Thanks J

Last updated 3 years ago.
0

I fixed it:

@if(isset($pub['pubweb']))
                <a href="{{$pub['pubweb']}}">Web</a>
            @endif

by removing the {{ }}

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.