Jump to content

API PHP Help


jon-e2

Recommended Posts

Just had a quick question if anyone who might have advise.

 

Currently working with the Get tickets function and its returning 5 tickets and I want to use the [LASTREPLY] information for each ticket.

 

I'm wanting to create variables for each [LASTREPLY] from the 5 tickets.

 

Currently the code I have which seems to be in the right direction but can't figure out to assign the variables to get each Last reply in its own variable

 

foreach($arr['WHMCSAPI']['TICKETS'] as $ticket) {

echo $ticket['LASTREPLY'];



}

 

Thanks for any help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated