Hello friends can you please help how can i get contents

of a json file in a php script?

It has these methods i need to send message to users of the bot



{"chatid":"133486","firstname":null,"lastname":null,"username":null,"userid":null,"joindatesh":null,"joindatem":null,"jointime":null,"step":null,"code":null,"ref":null,"coding":null,"dayl":null,"captha":null,"Other4":null,"Other5":null,"Other6":"","emdice":null,"tedadwarn":null,"zirmajuserid":null,"dice":null,"spam1":null,"spam2":null,"stoptime":null,"under":null,"vindor":null,"phone2":null,"zarib":null,"phone":null,"zirmaj":null,"emtiaz":null,"Other":null,"Other2":null,"Other3":null},

5 ответов

42 просмотра

You want to send json in bot message?

✎ ◡̈⃝ sajjad-jabbarzadeh Автор вопроса
No One
You want to send json in bot message?

no i wanna get contents in script one of json file's array named "chatid"

✎ ◡̈⃝ sajjad jabbarzadeh
no i wanna get contents in script one of json file...

Ok, 1. Convert json string to object (Google it) 2. Access object: $id = object->chatid;

✎ ◡̈⃝ sajjad-jabbarzadeh Автор вопроса

Похожие вопросы

Карта сайта