$upload = new uploadObject('songs');
$upload->title = $data['upload_data']['title'];
$upload->description = $data['upload_data']['description'];
$upload->tags = $data['upload_data']['tags'];
注意:未定义的变量$ data
答案 0 :(得分:0)
您需要在顶部定义$data
,例如..
$data="";
// then your other code