Jump to content

Internal search bar


agustinexcursio

Recommended Posts

Hi guys!

I'm having a problem with my search bar on my company website.

I don't know what's going on, I think that everething is ok. But I'm not a master with php.

If anyone can help me with this, I'll be very apprceitte it.

Here is the code.

<!-- SEARCH -->
                   <div class="col-xl-7 col-lg-7 col-md-7 p-0">
                       <div class="col-xl-12 Bx-Search">
                           <div class="row">
                               
                               <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2 col-2 py-2">
                                   <img src="<?php echo base_url(); ?>imgs/Search-icon.jpg" alt="" class="Icon-Search">
                               </div>
                               <div class="col-xl-7 col-lg-7 col-md-7 col-sm-7 col-6 p-0">
                                    
                                <input type="text" class="InpSearch df" placeholder="Su busqueda..." name="palabraABuscar" value="<?php if (isset($palabraBuscada)){echo $palabraBuscada;}?>">
                                    
                               </div>
                               <div class="col-xl-4 col-lg-4 col-md-4 col-sm-3 col-4 p-0 border">
                                   <select name="" id="" class="df fs7 SelectSearch">
                                       <option value="">Todas las Categorias...</option>
                                   </select>
                               </div>
                               
                           </div>
                       </div>
                   </div>
                   <button class="col-xl-2 col-lg-2 col-md-2 bck_00 c0 df btn-Search" name="buscar">
                       Buscar
                   </button>
                </div>
            </form>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.