M
M
Muxammadislom Eshonqulov2021-06-18 09:17:30
PHP
Muxammadislom Eshonqulov, 2021-06-18 09:17:30

How to get values ​​from an array?

Good time.

array(1) {
[1]=> object(stdClass)#4180 (14) {
["id"]=> string(1) "1"
["name"]=> string(42) "Post titles"
[ "description"]=> string(837) "Descriptions"
["confirmation"]=> string(104) "you have subscribed to the course Mental arithmetic Easy"
}
}

Tell me how to display name with value "Post Title" from this array.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
krypt3r, 2021-06-18
@muhammadislom

echo $arr[1]->name;
Or something like that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question