Jump to content

Recommended Posts

Hi,

 

I am able to create a search box using PHP that references a mysql database. I am wondering though, how would I integrate it into a navigation bar? Like the one on apples site for example? Could anyone point me in the direction of a good tutorial please?

 

Apologies if this hasn't been posted in the correct thread.

 

Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/102183-search-box-advanced/
Share on other sites

Modify the auto-completion a little bit.  Look at Apple's.  It's basically a spruced-up auto-completion box, right? On my site, the search users box is just like Apple's, actually.  It provides links to a user's profile if they're in the search terms and it groups them by similarity, and it groups them by user-level.  Play around with the code.

Link to comment
https://forums.phpfreaks.com/topic/102183-search-box-advanced/#findComment-523079
Share on other sites

Ok thanks. I'm planning on designing the navbar in photoshop. Does anyone know any tutorials that will show me how to put the form in the navbar?

 

 

O_O

<form action="search.php" method="post"><input type="text" size="10" maxlength="30"></form>

 

Then they can hit Return to send the form in.  Or you can put a submit button.

 

Link to comment
https://forums.phpfreaks.com/topic/102183-search-box-advanced/#findComment-523128
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.