Came across this article - http://www.devshed.com/Server_Side/P...API/page3.html on DevShed about using the Google Web APIs with PHP.
I've never worked with OOP/classes in PHP so I'm having a hard time troubleshooting. The problem is that the search request always returns the same set of results. Checking the value of $params[q] throughout the code listed in the article produces the correct query term so I'm assuming that my problem lies in nusoap.php. It appears that the URL of my post is what is actually being delivered to Google by the nusoap class as the query term.
To see the problem in action, go to - http://www.vincemease.com/postnuke/m...der=0&thold=-1 and scroll down to the bottom. The value that I'm setting for 'q' in the DevShed code is '$preformat[title]' from Postnuke. Hardcoding a search term for 'q' works as expected. Why does this choke when given a variable?