Jump to content

First ever attempt at ajax - search engine suggestions


saltem8

Recommended Posts

i wanted to make a search engine for my site

 

i have something very specific in mind, i want the search to include Search Suggestions alot like ask.com

 

so when they start typing, possible results come up,

 

let me show you what i have

 

my table is as follows

 

CREATE TABLE `recipes` (
  `Id` mediumint(13) NOT NULL auto_increment,
  `title` varchar(255) NOT NULL default '',
  `yield` varchar(255) NOT NULL default '',
  `instructions` text NOT NULL,
  PRIMARY KEY  (`Id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=315743 ;

 

and i am going to make the results display within my sites template, linking to anther file that will pull the choosen result and display the recipe

 

so it is really just a search engine for my own site i suppose with Search suggestions

 

these results are coming from my database,

 

i have found a search engine suggestion script, but it is ajax, can anyone give me a hand setting it up please as i have never even tried to use ajax, - i do have a search script though, i just need the ajax to intregrate with my search results - the complete set up

 

thanks

 

http://www.petefreitag.com/item/605.cfm

 

http://script.aculo.us/downloads

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.