Jump to content

Search box advanced


Snatch

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.