Hello. I modified the code like following, but alias dosn’t showing at all. But there is no error.
Could you please fix the code or give me the example how to use “columnNameMap” with “add_db_table_editor” ?
———– code ———————-
add_db_table_editor(array(“title”=>”[??]??? ????”,”table”=>”student_contests”,”sql”=>”SELECT id, contest_id, post_title, name, grade, class, title, school, address, sender, phone, p_delivery, p_invoice_num, pre_state FROM student_contests ORDER BY id DESC”,”columnNameMap=>array(‘contest_id’=>’????’, ‘post_title’=>’????’, ‘name’=>’??’, ‘grade’=>’??’, ‘class’=> ‘?’, ‘title’=>’???’, ‘school’=>’???’, ‘address’=>’????’, ‘sender’=>’???’, ‘phone’=>’????’, ‘p_delivery’=>’???????’, ‘p_invoice_num’=>’????’, ‘pre_state’=>’??’)”));