dimanche 1 janvier 2017

Sending route parameter in form

I am trying create form (defined like this: link) but I dont know what is $user->id in syntax

echo Form::open(array('route' => array('route.name', $user->id)))

When I use it I have error:

Undefined variable: user (View: ...)

Could anyone explain ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire