PHP Google Search Result

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Fyurien
Forum Newbie
Posts: 3
Joined: Thu Nov 06, 2008 3:45 pm

PHP Google Search Result

Post 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:
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: PHP Google Search Result

Post 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".
Fyurien
Forum Newbie
Posts: 3
Joined: Thu Nov 06, 2008 3:45 pm

Re: PHP Google Search Result

Post 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!
Fyurien
Forum Newbie
Posts: 3
Joined: Thu Nov 06, 2008 3:45 pm

Re: PHP Google Search Result

Post 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
Post Reply