about PHP CURL
there are three sets of data returned by default
this means that it takes three foreach to implement
. Are there any other ways?
how else can I get the data of the second dishes-selected or even the third (options)?
about PHP CURL
there are three sets of data returned by default
this means that it takes three foreach to implement
. Are there any other ways?
how else can I get the data of the second dishes-selected or even the third (options)?
first json_decode (after $data, TRUE), take $data ['restaurant'] [' dishes-select'] ['options'
] directly. If you have to loop, use the recursive function