vendredi 24 novembre 2017

How to set value for input form ? And how to do display it?

I want to display selected image in the edit.blade.php But I dont know how can I do this ?

Form::file('image',['value'=>'$post->featured_image'])
<!-- or -->
<input file="file" name="image" value="$post->featured_image">

But, both of doesn't work ? Is there any way to do that ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2A4C2xe
via IFTTT

Aucun commentaire:

Enregistrer un commentaire