/    Sign up×
Community /Pin to ProfileBookmark

php Autocomplete With Mysql

I’m trying to get an autocomplete that can work with my search form but I’m having no luck so far. I don’t want the words to be located on the main page because I want my page to show up quickly and I need to enter a lot of suggestions. My site is a meta search torrent site.

The main search on the front page sends the query to a torrent tracker site and loads it in iFrames so the user can click another sites link in the top toolbar to search again without needing to retype the query. Just in case the first site they tried didn’t show any relevant results.

[url]http://www.plentyoftorrents.com/[/url]

Thanks for any help. below is the code for the search form.

[CODE] <!– java search begins–>

<form name=”search” action=”results_new.php” method=”post”>

<input type=”text” name=”q” onClick=”this.value=”” value=”&nbsp;Torrent Search”/>

<select name=”site”>

<option>Mininova</option>

<option>Btjunkie</option>

<option>

Isohunt

</option>

<option>

Torrentspy

</option>

<option>

btscene

</option>

<option>

Sumotorrents

</option>

<option>

Torrentportal

</option>

<option>

Torrentvalley

</option>

<option>

Fenopy

</option>

<option>

Fulldls

</option>

<option>

EZ-TV

</option>

<option>

Bittorrent Monster

</option>

<option>

Torrentz

</option>

<option>

The Pirate Bay

</option>

</select>

<input type=”image” src=”./images/search.gif” name=”sub” />

<br />

</form>

<!– java search ends–>[/CODE]

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @torrents spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...