"解决Illegal string offset 'data' in 类似错误"
Published on Aug. 22, 2023, 12:08 p.m.
<?php
$cell = $data[‘data’];
?>
change to
<?php
if (!isset($data[‘data’])) {
continue;
}
$cell = $data[‘data’];
?>
Published on Aug. 22, 2023, 12:08 p.m.
<?php
$cell = $data[‘data’];
?>
change to
<?php
if (!isset($data[‘data’])) {
continue;
}
$cell = $data[‘data’];
?>