ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  A PHP Web Services Client
Subject:   little typo
Date:   2004-11-07 21:35:53
From:   stimms
Response to: little typo

I also ran into a small issue if authors was undefined. Checking for the existance of authors seemed to help

if($hit->Authors)
$Authors = implode(" and ", $hit->Authors);


I also noticed that the results of the query were stored in $books at first and then jumped to being stored in $hits.