I'm assuming you didn't like the answer in thread253-1390537
As I said there, just make pages that contain what you want to be indexed.
For instance, let's say that you want people to see the picture of a blue ipod when they search Google for "blue ipod" and follow a link to your site.
Create a page that contains the picture of the blue ipod and suitable blue ipod text etc. Google will then index the content of that particular URL and return it as a result if the content matches a given search query.
The pages can be a static HTML file or created dynamically using PHP or another server side language.
The URLs for these pages might take the form of
or
In fact, they could be anything so long as they 'link' to the appropriate content. For instance, if creating the pages dynamically from a database, you would grab the parameters from the query string and use them to build the relevant database query in order to populate your page.
Either way, you don't need to analyse any
search queries. Google indexes pages and not websites. The most suitable page from your site, for a given search query, will be returned by Google. Clicking that result will link directly to the appropriate page with it's corresponding content.
Maybe I am missing something, but you seem to be over-complicating things by wanting to analyse the search query. Or do you mean that you want to be able to grab info from a page's URL in order to build a database query?
<honk>*:
O)</honk>
Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.