My php client connects to salesforce using their SOAP API ( partner.wsdl ). After getting a list of Accounts, I also want a list of all the Contracts for each Account. Since SOQL doesn't allow join statements, the only way I see is to first get a list of ALL the Contracts, then manually filter down to the Contracts associated with a particular Account.
This question is similar, but no answer presents a better solution.