我正在使用该法典处理上载的卷宗。 我如何将其转换为Json和 lo,在用户屏幕上展示?
if (($handle = fopen( upload/ .$current.$_FILES["file"]["name"]. , "r")) !== FALSE) {
while (($row_array = fgetcsv($handle, 1024, ","))) {
foreach ($row_array as $key => $val) {
$row_array[$key] = trim(str_replace( " , , $val));
}
$complete[] = $row_array;
}
fclose($handle);
}