Sedang Disiapkan

219722 Simple search box script

I need a simple search box script, where I can use a simple text database, then when a visitor searches it redirects the surfer to a URL that contains search string.

Example text database:

Car,Automobile,Toyota|[url removed, login to view]

Trucks,SUV,Pick ups|[url removed, login to view]

Motorcycle,bike,bicycle,three wheel|[url removed, login to view]

null|[url removed, login to view]

Now lets say the surfer puts in the text box 'Cars' then presses the search button, then the script will just redirect the surfer to the url '[url removed, login to view]

If no search matches any keywords it will be 'null' and take the surfer to the '[url removed, login to view]' website.

If a search contains keyword string that matches two results such as 'Toyota Truck' which matches both the '[url removed, login to view]' and '[url removed, login to view]' URL. In this case the script should redirect to the URL with the FIRST word of the keyword string. So for this case it will redirect to '[url removed, login to view]' since it has the word 'Toyota' first.

Simple script. I would like PHP with text database. Nothing fancy.

Kemahiran: Semua Boleh, PHP

Lihat lebih lanjut: use case simple example, text string search, string search in c, search text string, search string in c, search string c, search string, search c string, php script null, c string search, c search string, www.yahoo search, trucks, suv, cars & trucks, php search box, car bike, string search, visitor script, php script searches, simple php database website, simple car script, php redirect url www, search database script, fancy button website

Tentang Majikan:
( 44 ulasan ) Los Angeles, United States

ID Projek: #1965955

Dianugerahkan kepada:

syberlan

Please check PMB

$15 USD dalam 0 hari
(9 Ulasan)
2.7