This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
2010_2011:s3:omgl:mod-si:tp:elements-d-architecture [2010/11/30 00:12] blay |
2010_2011:s3:omgl:mod-si:tp:elements-d-architecture [2010/11/30 09:58] (current) blay |
||
---|---|---|---|
Line 7: | Line 7: | ||
- | Ici les {{:2010_2011:s3:omgl:mod-si:tp:archiveseduitephp.zip|codes}} correspondants. | + | Ici les {{:2010_2011:s3:omgl:mod-si:tp:archiveseduitephp.zip|codes}} correspondants et la base de données |
+ | <code> | ||
+ | -- | ||
+ | -- Base de données: `jSeduite` | ||
+ | -- | ||
+ | |||
+ | -- -------------------------------------------------------- | ||
+ | |||
+ | -- | ||
+ | -- Structure de la table `information` | ||
+ | -- | ||
+ | |||
+ | CREATE TABLE `information` ( | ||
+ | `titre` varchar(20) NOT NULL, | ||
+ | `date` varchar(22) NOT NULL, | ||
+ | `identifiant` int(11) NOT NULL auto_increment, | ||
+ | PRIMARY KEY (`identifiant`) | ||
+ | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=57 ; | ||
+ | |||
+ | -- | ||
+ | -- Contenu de la table `information` | ||
+ | -- | ||
+ | |||
+ | INSERT INTO `information` VALUES('nuit de l''info', '2010-11-12 13:40:18', 3); | ||
+ | INSERT INTO `information` VALUES('aaa', 'Mon, 29 Nov 2010 20:46', 55); | ||
+ | INSERT INTO `information` VALUES('Fin des inscriptions', 'Sun, 28 Nov 2010 00:30', 54); | ||
+ | INSERT INTO `information` VALUES('Devint', 'Fri, 26 Nov 2010 22:53', 44); | ||
+ | </code> | ||
* Pour lancer l'"écran" : http://localhost:8888/jseduitePhp/index.php?controller=SI | * Pour lancer l'"écran" : http://localhost:8888/jseduitePhp/index.php?controller=SI | ||
- | * * Pour lancer la partie Administration : http://localhost:8888/jseduitePhp/index.php?controller=admin | + | * Pour lancer la partie Administration : http://localhost:8888/jseduitePhp/index.php?controller=admin |