Simple exemple sous Drupal pour créer un tableau
$rows = array(
array(
'Cell 1', 'Cell 2', 'Cell 3'
),array(
'Cell 4', 'Cell 5', 'Cell 6'
));
$output = theme('table', array("1","2","3"), $rows);
Utilisation de theme(‘table’, header, rows);
Articles en relation:
Drupal, Exemple •