假設今天收到的資料的是
- Array (
- [0] => stdClass Object (
- [name] => "AAA"
- [code] => 123
- )
- [1] => stdClass Object (
- [name] => "BBB"
- [code] => 456
- )
- [2] => stdClass Object (
- [name] => "CCC"
- [code] => 789
- )
- )
要印出資料只要設定一個變數指到那個Array Object 就好了…
- //先把資料存到某個變數 , 假設上面那筆資料是 $a
- $b = $a;
- //接著逐一印出的話
- foreach ($b as $value) {
- $name = $value->name;
- $code = $value->code;
- echo "$name , $code \n";
- }
厲害~
讚!
wonderful~though not very understand`
thanks a lot.
可以借我轉貼一下嗎? 太棒了!
我都在努力學習了,加油~
加油。。。。
I will keep your new article. I really enjoyed reading this post, thanks for sharing.
lashdasjdhasfa
rt – it is really running on full autopilot. This super affiliate push button software is the real thing, so if you’re planning to use it unethically, or use it for scam purposes, this software isn’t for you! It really is as simple as downloading the software and then pushing a
I really enjoyed reading this post, thanks for sharing.
or use it for scam purposes,
This super affiliate push button software is the real thing, so if you’re planning to use it unethically, or use it for scam purposes, this software isn’t for you!
最近練習的時候想做個球可以點到滑鼠點的X,Y去的小東西,但是明明大概怎麼算都懂,但是每次點了以後他總是跑一點點…要一直點一直點…
Thanks for the nice blog. I have read the article fully.Thanks to sharing