jeudi 2 février 2017

How to get paramter from url and check in view?

I have this url:

http://ift.tt/2kkKL4G

Now what i want in view is something like this:

  <input type="checkbox" class="preventUncheck" name="publishing_types[]" id="toggle-on" value=""  @if (publishg_types== Selling) {!! "checked" !!} @endif >

  <input type="checkbox" class="preventUncheck" name="publishing_types[]" id="toggle-on" value=""  @if (publishg_types== Reng) {!! "checked" !!} @endif >

So what i want is to check in checkbox if publishing_types == Selling and/or publishing_types == Rent from url to check that checkbox



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

Aucun commentaire:

Enregistrer un commentaire