Thursday, March 2, 2017

Laravel: variable as form value

First Laravel Project.

I want to make an "edit screen" where the "old values" are the predefined default value of the form input field.

I tried this: But I got back

$product[0]->brand

Instead of

Test brand

What I did wrong? What's the good syntax?




via Feralheart

Advertisement