qutazs Posted April 25, 2013 Share Posted April 25, 2013 Hello everyone, I hope someone can help me out with a simple issue. I'm trying to make a website, build using simple PHP and the use of WHMCS API. When I want to make the clientside, it needs to show tickets for the particular user, but the issue here is to get the info out of the array that is presented after running the API gettickets on the userid. I get this: Array ( [result] => success [totalresults] => 1 [startnumber] => 0 [numreturned] => 1 [tickets] => Array ( [ticket] => Array ( [0] => Array ( [id] => 7 [tid] => 782755 [deptid] => 1 [userid] => 39 [name] => Mark Lønquist => mark.loenquist@outlook.com [cc] => [c] => 79rzVBeJ [date] => 2013-04-25 16:14:24 [subject] => test [status] => Open [priority] => Medium [admin] => [attachment] => [lastreply] => 2013-04-25 16:14:24 [flag] => 0 [service] => ) ) ) ) I want to get the "tid" among other info for each ticket associated with the clientid, but no mather what I try to do nothing pops out 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.