Support the ongoing development of Laravel.io →

1,485 Threads

posted 9 years ago

Find last iteration of foreach loop in blade

Currently i use last() method to find last iteration @foreach ($colors as $k => $v) <option...

0 Likes
0 Replies

Form element vs html input type in ajax

I am submitting my input types using Ajax in laravel. So i want to ask using blade form collective i...

0 Likes
0 Replies

How to design server side as well as client side rendering?

I'm currently working on a project and ran into a problem regarding rendering. Basically, I want to...

0 Likes
1 Replies
Solved
posted 11 years ago

Getting the first element of a foreach

Is there a way i can get the first element of a foreach (in a blade)? Something like this: @foreach...

0 Likes
10 Replies
Solved
posted 9 years ago

What does Yield/Section do?

I really tried to understand this concept from episode 5 of fundamentals, but I somehow did not get...

0 Likes
1 Replies

<img src=""> dont work on .blade.php help plz

hi i am new to laravel <img src=""> dont work on .blade.php i use this in .blade.php file <...

0 Likes
1 Replies

Onchange load filter marker from database

<script language="javascript" type="text/javascript"> var pubvar1 =...

0 Likes
0 Replies

[Package] Laravel Themes

Hello everybody, I want to share my first package: Basic themes support for Laravel 5. Get it here:...

0 Likes
4 Replies

handling error in inputing data

Hi, I'm new with Laravel, so im writing a comment form that using hidden input which value is user-&...

0 Likes
1 Replies

PHP code from a table

Hi, Is there any way to get php code from a mysql table, and run it in a blade template?

0 Likes
7 Replies
posted 9 years ago

How to make blade template file (foo.blade.php) can not run common php function?

// foo.balde.php {{ csrf_field() }} <?php echo 'test'; ?> // ... Others code...

0 Likes
2 Replies
posted 9 years ago

How can i add condition inside an input tag? Please

I need some help please I'm new with laravel and we will use this to make our thesis so pleasee. :)...

0 Likes
0 Replies

fetch multiple images from Database

Hi I have stored my images in database using implode function images are in database like array ima...

0 Likes
4 Replies

Second parameter missing for update method.

Hi I've a path registered Route::patch('addressbook/edit', [ 'as' => 'addressbook.edit',...

0 Likes
1 Replies

Getting the right data to database

Hi all, So I have this edit blade which contains a textbox and a selectfield. The idea is, to insert...

0 Likes
3 Replies

onClick Data is not coming on my view using ajax laravel 5

#This is my ajax <script> $(function(){ $('.click').click(function(){ alert($(this).attr('hr...

0 Likes
3 Replies

CRUD, Having Problem with Update and delete data

Hi can someone help me??please, I'm having problem with updating and deleting data when I'm trying t...

0 Likes
4 Replies
Solved

Formatting a message

Laravel 5.2 Hello I have this message in my controller: public function postIndex(SaveProfileRequest...

0 Likes
2 Replies
posted 9 years ago

Render View Without Route, Outside of App. Can it be done?

I have some blades that generate dynamic JS based on some environment configuration variables. My g...

0 Likes
4 Replies
Solved

Laravel blade from ckeditor and database

How can i parse dynamic data from ckeditor or textarea. I need to put laravle blade into ckeditor li...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

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.