OGAds offer API output help please
2017-01-20, 06:15 AM,
I want to output offers as shown in the first example in the api page what should I write in php?

output example:

[{"name":"Castle Clash - (Android, Free, INCENT, US, 113M)","link":"http:\/\/jump.ogtrk.net\/aff_c?aff_id=15447&offer_id=2993","epc":"0.12287"}]

I wrote this but it doesn't output the same data structure as the above example

PHP Code:
$Myoffers = array("title"=> array($offer['name']), "link"=> array($offer['link']));

I actually need it like this:

Any help please.
Share This Thread :

2017-02-12, 01:36 AM,
Like that :

echo json_encode(array($Myoffers));
Latest Thanks - View all

AbdouMotDz(2017-02-12 02:49 AM) 
2017-02-12, 02:51 AM,
Problem solved long time ago, thanks for your reply :)

Related Threads
Thread Author Replies Views Last Post
  Need Few Instructions That Can Help me Create Video Whiteboard Animation EvaHarrison 1 386 2018-08-17, 05:53 PM
Last Post: CharlieHarper
  OGads - How to change some words into bold in the file download locker? Lone Wolf 3 937 2018-08-04, 12:47 AM
Last Post: CreateAutomate
  OFFER EXPIRED- PLEASE REMOVE THREAD SwiffJustus 1 624 2018-05-04, 06:42 PM
Last Post: gmax29
  help with embed adult videos to my site adlof 1 541 2018-02-16, 10:22 PM
Last Post: Enabled
  Need help is possible? shikoattia 1 583 2018-01-28, 03:25 PM
Last Post: CharlieHarper

About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2019 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top