Page 1 of 1

PHP Google Search Result

Posted: Thu Nov 06, 2008 4:03 pm
by Fyurien
Hello,

I'm new here and very new to PHP. I can manage most simple functions, but this one is really beyond me.
:banghead: Actually I've tried looking for it everywhere (Google) and I can't seem to find any code or anything that slightly resembles what I'm looking to do.

First here is the web page where I want to integrate it into.

http://www.companyresume.com/index.php/ ... CA21932277

If you scroll down you'll see a section called "Apple Computer On The Web". This is where I would like to show, using PHP a google search result for this company. Now of course there are many other companies on the site, so this script would have to generate a google search result for each individual company. I've included a link to help show what this might look like. See the link "example" and look towards the bottom of the pic.

The way this script would work is that it would fetch the company name, do a google search for the name, then display the results here.

How it would do that, or if it's even possible, is the problem!

I would appreciate any advice. If it can't be done, that's good to know so I can stop searching. If it can, then I would greatly appreciate a link to an example.

Thank you!! :banghead:

Re: PHP Google Search Result

Posted: Thu Nov 06, 2008 4:52 pm
by requinix
If you couldn't find anything you were looking in the wrong places.

Look here. I'm thinking you want the "Google Search Appliance APIs".

Re: PHP Google Search Result

Posted: Thu Nov 06, 2008 5:08 pm
by Fyurien
The suggestion is good, but won't let me specify by company name the search. Meaning that it would give the option to search to the user, but I don't want to user to have to type in the search. Also, its in AJAX which is problematic.

Thank you thought!

Re: PHP Google Search Result

Posted: Thu Nov 06, 2008 5:10 pm
by Fyurien
Well I just found this. Not sure yet if it will work, but I'll give it at try.

http://www.wwwsearchsolutions.com/google.php