jquery not calling php function

I just can’t seem to get my jquery to call my php handler function in my plugin. Please help. TQ My php file // INIT function nizam_scripts() { wp_enqueue_script( ‘nizam_ajax’, plugin_dir_url( __FILE__ ) . ‘/nizam_plugin.js’, array( ‘jquery’ ) ); wp_localize_script(‘nizam_ajax’, ‘nizam_handler’, array( ‘ajaxurl’ => admin_url( ‘admin-ajax.php’ ) ) ); } add_action(‘wp_print_scripts’, ‘nizam_scripts’); // SHORTCODE function…

how to print array to csv in standalone script

hi am trying to put my array data to csv in magento 1.9 where i fetching all the order details using standalone script my php script <?php require_once ‘app/Mage.php’; Mage::app(); Mage::app()->getStore()->setId(Mage_Core_Model_App::ADMIN_STORE_ID); $orderCollection = Mage::getModel(‘sales/order’)->getCollection(); foreach ($orderCollection as $order) { $orders[‘orders’][] = array( ‘id’ => $order->getIncrementId(), ‘store’ => ‘magento’, ‘status’ => $order->getStatus(), ‘name’ => $order->getCustomerName(), ’email’…