如何在数组中产生一行空格
如何在数组中产生一行空格
这个问题已经有答案了:
$arr = array( 'toemail'=>$v->agent_primary_email, 'agentname'=>$v->agent_firstname, 'agentid'=>$v->agent_id, 'subject'=>'The details of total number of properties saved by your clients', 'totalprop'=>$v->prop_count ); echo json_encode($arr);exit;
输出结果看起来像这样
{"toemail":"abc@gmail.com","agentname":"john","agentid":"110012","subject":"The details of total number of properties saved by your clients","totalprop":"131"}
但我需要做出什么改变,才能使输出结果看起来像这样
{"toemail":"abc@gmail.com", "agentname":"john", "agentid":"110012", "subject":"The details of total number of properties saved by your clients", "totalprop":"131"}
admin 更改状态以发布 2023年5月21日