The attached php script checks for some purchase and click data matching a certain clickref. It does not seem to be finding the matching purchase data, although the data appears to be available. It is getting the click data ok. This bid is to identify what's wrong (and if it's a problem in the php fix it). It should be a quick job for a competent coder.
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No 3rd party components unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).