mercredi 5 décembre 2018

Laravel - Search ID and Display it on Input forms like textboxes etc

How can i search for an id and if you click search it will display its information in textbox

here is my sample search input box

  <input type="text" class="form-control" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
      <div class="input-group-append">
        <button class="btn btn-primary" type="button">
          <i class="fas fa-search"></i>
        </button>
      </div>

here is a sample of my view textbox input

 

 

here is a sample of my controller

   $employeeFileMaintenance = new Employeefm;
   $employeeFileMaintenance->employee_no = $request->input('employee_no');
   $employeeFileMaintenance->last_name = $request->input('last_name');



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

Aucun commentaire:

Enregistrer un commentaire