#codemasterjamal

1 messages · Page 1 of 1 (latest)

daring ospreyBOT
vocal ermine
#

Can you give some more details? Where is that code from?

thorny niche
#

it's in the documentation create.php

#

I was trying to figure out how to get the values out of the $items object.

vocal ermine
#

You'd just iterate through $items and check each of the IDs for each item

thorny niche
#

could you perhaps provide an example?

#

I never done something like this with PHP I got the webhook to work, I just need to figure out how to untwine the JSON objects.

vocal ermine
#

I don't have an example handy, but there's a lot of online resources for traversing through an array in PHP that you'd be able to find yourself