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

Look at this piece of your controller code: with('registrasi', $harga1).

When using the with() method, the first parameter, "registrasi" is the the name that's going to be used in your view, and the second parameter, "$harga1" is the variable in your controller/route.

So, in this example, you need to replace $harga1 in your view with $registrasi.

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

yocha19 yocha19 Joined 16 Jan 2015

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.