单击按钮从php中的JSON对象数组中删除值
我有一个PHP代码和JSON,如下所示:
PHP代码:
<?php
$output = array();
$output['en_desc']=$_POST['en_desc'];
$output['code']=$_POST['code'];
$fp = fopen('../feeds/ptp-ess_landing_scommittees.json', 'w');
fwrite($fp, json_encode($output));
fclose($fp)...