et j'ai enlen,vé aussi tout les s car je prefere mettre au singulier je pense ca c'est bon
Structure de la table `commentaire`
--
CREATE TABLE `commentaire` (
`id` bigint(20) NOT NULL auto_increment,
`id_programme` bigint(20) NOT NULL,
`pseudo` varchar(255) collate latin1_general_ci NOT NULL,
`message` text collate latin1_general_ci NOT NULL,
`dateheure` int(10) NOT NULL,
`type` int(10) NOT NULL,
`vote` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
--
-- Contenu de la table `commentaire`
--
-- --------------------------------------------------------
--
-- Structure de la table `news`
--
CREATE TABLE `news` (
`id` bigint(20) NOT NULL auto_increment,
`news` varchar(255) collate latin1_general_ci NOT NULL,
`commentaire` text collate latin1_general_ci NOT NULL,
`dateheure` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
--
-- Contenu de la table `news`
--
-- --------------------------------------------------------
--
-- Structure de la table `programme`
--
CREATE TABLE `programme` (
`id` bigint(20) NOT NULL auto_increment,
`fichier` varchar(255) collate latin1_general_ci NOT NULL,
`telechargement` int(10) NOT NULL default '0',
`type` int(11) NOT NULL,
`vote` int(10) NOT NULL default '0',
`libelle` varchar(30) collate latin1_general_ci NOT NULL,
`id_type` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=2 ;
--
-- Contenu de la table `programme`
--
INSERT INTO `programme` VALUES (1, 'Messenger-plus-live-4.20.262.rar', 7, 0, 0, '', 0);
-- --------------------------------------------------------
--
-- Structure de la table `type`
--
CREATE TABLE `type` (
`id_type` int(11) NOT NULL auto_increment,
`libelle` varchar(30) collate latin1_general_ci NOT NULL,
`types_prog` enum('logiciel','plug-in','bots-and-auto-talkers','display-pictures','fun','games-and-activities','mockers-and-conten-tstealing','new-fonctions','nick-name-and-psm','non-english','official-script-ing-documentation','sound-and-audio','stats-and-information','text-manipulation','toasts-and-notifications') collate latin1_general_ci NOT NULL,
PRIMARY KEY (`id_type`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
--
-- Contenu de la table `type`
--
-- --------------------------------------------------------
--
-- Structure de la table `vote`
--
CREATE TABLE `vote` (
`fichier` varchar(255) collate latin1_general_ci NOT NULL,
`vote_0` int(10) NOT NULL default '0',
`vote_1` int(10) NOT NULL default '0',
`vote_2` int(10) NOT NULL default '0',
`vote_3` int(10) NOT NULL default '0',
`vote_4` int(10) NOT NULL default '0',
`vote_5` int(10) NOT NULL default '0',
`id-programme` int(11) NOT NULL,
`telechargement` int(10) NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Contenu de la table `vote`
--
je sais que tu m'a fais une table simple et pas compliqué mais c'est juste pour moi et que je meurt pas bête lol
toi tu etais dans mon cas il y as 5 an dc tu comprend que les nouveau débutant veulent appronfondire leur connaissaissance
si un jour je met un logiciel poir id 9 qui est pris par un scripts je voudrais le décalé ou le deplacé et bien, entendu je modifierais sur la page