View Single Post
Old 03-27-2005, 10:18 PM   #5 (permalink)
REDtoLINE
 
Newb Techie

Join Date: Mar 2005

Posts: 20

REDtoLINE

Send a message via AIM to REDtoLINE Send a message via Yahoo to REDtoLINE
Default

Quote:
Originally posted by Terencentanio
If the site has a database which holds the content, you could easily write one. SQL:

SELECT * FROM table WHERE content = '%search%';

Or something along those lines Otherwise, you'd probably need to write a Perl/Python/Other bot to crawl and store the info in a DB, then do something similar. Or just do as Emily said, but there's no fun in using Google now, is there?
you actually typed that query wrong, it would actually be,

SELECT * FROM table WERE content LIKE '%search%'

and % means wildcard, so AsearchA will match, but if u put 'search%', then it would not work, but seachA would, you get it...
REDtoLINE is offline