【发布时间】:2019-09-21 12:00:16
【问题描述】:
我有这个返回错误的代码:
$response = curl_exec($client);
$result = json_decode($response);
$output = '';
if(count($result) > 0)
{
foreach($result as $row)
{
$output .= '
<tr>
<td>'.$row->name.'</td>
<td>'.$row->url.'</td>
错误
参数必须是数组还是实现了Countable的对象?
【问题讨论】: