View file File name : Enquiries_form.php Content :<div class="container-fluid"> <div class="col-md-12 content-center loan-comparision"> <div class="card-plain"> <form class="form" method="post" action="<?=base_url()?>Enquiries/Add_enquiries"> <div class="header"> <div class="logo-container"> <img src="assets/images/logo.svg" alt=""> </div> <h5 CLASS="text-center">CREATE ENQUIRIES</h5> </div> <div class="content"> <div class="form-group col-md-12"> <div> Select Properties <span style="color:red;font-size:10px;"> * Only Active / Approved properties can be selected</span></div> <select class="js-example-basic-multiple form-control" name="agent_id" required placeholder="Nearby"> <?php foreach($properties as $n){ ?> <option <?php echo $n->approval!="na" && $n->deleted==0 ? "":"disabled"; ?> value="<?=$n->updated_by?>,<?=$n->id?>"><?=$n->project_code?> ( <?php echo $n->approval!="na" && $n->deleted==0 ? "Active":"Inactive"; ?> )</option> <?php } ?> </select> </div> <div class="input-group"> <input type="text" name="name" required class="form-control" placeholder="Name"> <span class="input-group-addon"> <i class="zmdi zmdi-account-circle"></i> </span> </div> <div class="input-group"> <input type="text" name="email" required class="form-control" placeholder="Email"> <span class="input-group-addon"> <i class="zmdi zmdi-account-circle"></i> </span> </div> <div class="input-group"> <input type="text" name="phone" required class="form-control" placeholder="Phone"> <span class="input-group-addon"> <i class="zmdi zmdi-account-circle"></i> </span> </div> <div class="input-group"> <input type="text" name="comment" required placeholder="Comment" class="form-control" /> <span class="input-group-addon"> <i class="zmdi zmdi-email"></i> </span> </div> <div class="input-group"> <input type="date" name="date" required placeholder="Date" class="form-control" /> <span class="input-group-addon"> <i class="zmdi zmdi-lock"></i> </span> </div> </div> <div class="footer text-center"> <button type="submit" class="btn l-cyan btn-round btn-lg btn-block waves-effect waves-light">Send</button> </div> </form> </div> </div> </div>