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

Because you've got it inside quote marks, PHP treats it as a string. Try this.

{{ Form::submit('Like '.$listing->likes) }}
Last updated 2 years ago.
0

Worked flawlessly, thank you! :)

Last updated 2 years ago.
0

Visit this page: Laravel Recipes In this page you can solve many more doubts (like your one) with Blade and other stuff related to Laravel.

Last updated 2 years ago.
0

Bookmarked, didn't know about that one, thanks :)!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Reached reached Joined 27 Feb 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.