check
I get the database data of the opposite party through php curl (both parties give me json)
for example, after I take it out, I print out
a hypothetical bit
foreach ($xxx->{"xxx"} as $key){
echo $key->{"xxx-price"};
}
how do I add up all $key- > {"xxx-price"}
in this array
?
I know how to do mysql
but I don"t know how to add up with curl?