Rahul S. Johari wrote:
Ave,

Has anyone been able to successfully use the Google API with PHP here? I've
been trying different scripts and each one gives me a similar "Unexpected
T_Function" error.


The other script from digitalpoint.com does run but it doesn't read my $q,
basically it displays all results from google.. It doesn't actually read my
query at all.

Any help would be appreciated.

Ave.


Rahul S. Johari Coordinator, Internet & Administration Informed Marketing Services Inc.

(518) 266-0909 x154
http://www.informed-sources.com


I've done this using the NuSOAP class.

http://www.chriscodes.com/google/

I have a simple source code example. You'll need to include NuSOAP, and to replace "Your Google License KEY" in the example with Your Google License KEY.

http://www.chriscodes.com/google/google.phps

There's a somple tutorial at:
http://www.devshed.com/c/a/PHP/Using-The-Google-Web-APIs-With-PHP/

--
Chris Martin
Web Developer
Open Source & Web Standards Advocate
http://www.chriscodes.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to