Support the ongoing development of Laravel.io →
posted 9 years ago
Views Blade
Last updated 2 years ago.
0

is view extension .blade.php?

Last updated 2 years ago.
0

yes, it is. as you can see {{ $event->capacity }} works but not {{ $remaining_seats[$event->id }}

Last updated 2 years ago.
0
Solution

hmm, looks like it's fixed now. i had comments using {{-- blah blah --}}. i switched it and used <?php // blah blah ?>. then i refreshed the page and it fixed it. then i switched it back to {{-- blah blah --}} it continues to work as it should. not sure what's up with the comment thing when using {{-- --}}.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

w1n78 w1n78 Joined 21 Apr 2014

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.

© 2024 Laravel.io - All rights reserved.