View Single Post
  #9 (permalink)  
Old 05-19-06, 08:16 PM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
I'm with Keith, having $uri= as part of a print/echo in that for loop makes no sense. The $uri variable is not referenced within that loop.

You state this worked before you made some changes. Post the before code so someone here can zero in on what might be causing this.

The resultElements is an index name, try enclosing it in single quotes - $searchresults['resultElements']...

It would be interesting to see the results of this -
PHP Code:

echo "<pre>";

print_r($searchresults); 
echo 
"</pre>"
Could you post or attach a screen shot of this?
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Reply With Quote