Category : input

i written a very simple code to update value of checkbox but it update 1 in db on uncheck it doesnot update 0 if request is submit here is code <div class="form-group"> <label>If it is checked it means user can only create given customer order.</label> <input type="checkbox" id="js-switch" name="customer_itself" @if($ot->customer_itself == 1) checked @endif> </div> ..

Read more

this is my laravel blade input tage below: <div class="col-sm-6"> <div class="form-group"> <label for="exampleInputEmail1">নাম</label> <input type="text" name=’product_name’ class="form-control" id="exampleInputEmail1" value={{ @$ProductById->product_name }}> </div> </div> The Problem is the value contained the only the first word of the full sentence Sourc..

Read more