Y
Y
YECGAA2016-01-06 17:17:37
PHP
YECGAA, 2016-01-06 17:17:37

Collect messages and insert into an array?

I am writing a primitive bot, it will work by cron, the script collects messages using messages.get, but how can I turn this json into an array? I'm still a PHP noob so this is probably a very easy task.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AngelZeruel, 2016-01-06
@YECGAA

php.net/manual/en/function.json-decode.php if I understood the question correctly

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question