$oRet = $client->EnumValutes();
$oXml = simplexml_load_string($oRet->EnumValutesResult->any);
foreach ($oXml->ValuteData->EnumValutes as $oCurr) {
echo $oCurr->VcharCode . '|' . $oCurr->VnumCode . '|' . $oCurr->Vname . '<br/>';
}
INSERT IGNORE INTO `tags_list` (`word`) VALUES ('рыба'), ('мясо'), ('птица');
@echo off
@set PHPINI_PATH=E:\DENWER\usr\bin\
@set PHP_COMMAND=E:\DENWER\usr\bin\php5.exe
@%PHP_COMMAND% -q -d html_errors=off -c %PHPINI_PATH% %1 %2 %3 %4 %5 %6 %7 %8 %9
$json = json_decode(тут ваш JSON);
$aUid = array();
foreach ($json as $item) {
$aUid[] = $item->uid;
}
echo implode(',', $aUid);
$json = json_decode(ВАШ JSON);
$ids = array_map(function($v){return $v->uid;},$json);
echo implode(',', $ids);