• Hi,

    I create a plugin to edit csv file:

    <?php
        /*
        Plugin Name: Editeur csv
        Plugin URI: http://www.eif-fel.com
        Description: Editeur csv
        Author: F. Leroux
        Version: 1.0
        Author URI: http://www.eif-fel.com
        */
    	/** Step 2 (from text above). */
    add_action( 'admin_menu', 'my_plugin_menu' );
    
    /** Step 1. */
    function my_plugin_menu() {
    	add_options_page( 'Editeur CSV fête membres MAPP', 'Editeur CSV fête membres MAPP', 'manage_options', 'csveditor', 'csveditor' );
    }
    include("class.CSVHandler.php");function csveditor() {
    $data=new CSVHandler(get_template_directory()."/fete.csv",";","record");
    $data->Edit();
    }
    ?>

    How to put an button to change csv file name? And all my accent are replace by question mark.

    Thanks

The topic ‘CSV Editor plugin with file name change’ is closed to new replies.