ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Comment ajouter des colonnes pour un table générer par la class table et qui contient l’exécution d'une requête select ?

February 10, 2014 3:38am

Subscribe [4]
  • #1 / Feb 10, 2014 3:38am

    nahed

    1 posts

    voici mon code: je veux ajouter deux colonne pour la suppression et la modification des champs de table?

    $this->load->library(‘table’);
    $tmpl = array ( ‘table_open’  => ‘<table border=“1” cellpadding=“2” cellspacing=“1” class=“mytable”>’ );
    $this->table->set_template($tmpl);
    $query = $this->db->query(“SELECT * FROM client”);
    echo $this->table->generate($query);

  • #2 / Mar 27, 2014 7:23am

    mannila

    1 posts

    can you give me more information about your problem, i can’t understand you

  • #3 / Apr 04, 2014 6:09am

    rusell_pedrick

    1 posts

    Nice thread. Thanks for sharing that information.

  • #4 / Apr 15, 2014 11:20am

    fzemmour

    5 posts

    voici mon code: je veux ajouter deux colonne pour la suppression et la modification des champs de table?

    $this->load->library(‘table’);
    $tmpl = array ( ‘table_open’  => ‘<table border=“1” cellpadding=“2” cellspacing=“1” class=“mytable”>’ );
    $this->table->set_template($tmpl);
    $query = $this->db->query(“SELECT * FROM client”);
    echo $this->table->generate($query);

    a quoi sert t’il library ‘table’ ?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases