"; print_r($array); die; if(($array['ack'] == 'Failure' || $array['ack'] == '') || count($array['searchResult']['item']) == 0) { $response['status'] = "0"; $response['message'] = "Not Getting any Products for this keyword"; //$response['data'] = $array['searchResult']['item']; header('Content-Type: application/json; charset=utf-8'); echo json_encode($response); exit(); } else if($array['ack'] == 'Success') { $response['status'] = "1"; $response['message'] = "Getting Items Successfully."; $response['data'] = $array['searchResult']['item']; header('Content-Type: application/json; charset=utf-8'); echo json_encode($response); exit(); } I would appreciate if you could help me address this issue. Thanks,
-
- Buy APIs (BETA) - Order
- Buy APIs - Browse
- Feedback, Comments, Suggestions
- New Sell APIs - Account, Inventory, Catalog and Compliance
- New Sell APIs - Fulfillment
- New Sell APIs - Marketing, Analytics, Metadata
- Post Order APIs - Cancellation
- Post Order APIs - Inquiry, Case Management
- Post Order APIs - Return
- Talk to your fellow developers
- Token, Messaging, Sandbox related issues
- eBay APIs: .NET SDK for Trading API
- eBay APIs: Java SDK for Trading API
- eBay APIs: Orders, resolutions and feedback
- eBay APIs: Search
- eBay APIs: Selling
- Sign in