Eyesis Data Grid Component vous permet d'afficher des tableaux "riches" à partir de vos données MySQL.

Le script PHP5 vous permet de:
Voici un exemple d'intégration d'un tableau à partir de votre table MySQL:
<?php
require 'class.eyemysqladap.inc.php';
require 'class.eyedatagrid.inc.php';
// Charge l'adaptateur
$db = new EyeMySQLAdap('localhost', 'root', '', 'myblog');
$dg = new EyeDataGrid($db); // Load the datagrid class
// Fetch all rows and columns from the `people` table
$dg->setQuery("*", "news");
// Print the table
$dg->printTable();
?>
Et tous les champs de votre table news seront affichés, triables etc ... Facile non ?
Pour poster un commentaire, vous devez être identifié. Vous pouvez choisir parmi ces trois méthodes d'identification:
Compte la Ferme du WebIdentifiez-vousInscrivez-vous |
Compte Facebook |
Compte Twitter
|