Follow Below steps to Export PHP JSON data to Excel file using JavaScript/JQuery: Copy below code and use it in PHP file. It will work. <?php $data = array( ‘0’ => array(‘tx’=> ‘12121’, ‘type’ =>’Giftcard’, ‘sender’=>’mohdramzaan112@gmail.com’, ‘receiver’=>’Marco’, ‘value’=>’100’, ‘note’=>’1001’), ‘1’ => array(‘tx’=> ‘12121’, ‘type’ =>’Giftcard’, ‘sender’=>’mohdramzaan112@gmail.com’, ‘receiver’=>’Marco’, ‘value’=>’100’, ‘note’=>’1001’), ‘2’ => array(‘tx’=> ‘12121’, ‘type’ =>’Giftcard’, […]

Read More