Bonsoir
J'ai exporté une base avec la fonction export de phpmyadmin et j'obtiens un fichier de ce type :
# ---------- MySQL dump ----------
#
# Table structure for table 'peel_articles'
#
CREATE TABLE peel_articles (
id int(11) DEFAULT '' NOT NULL auto_increment,
surtitre varchar(255) DEFAULT '' NOT NULL ,
titre varchar(255) DEFAULT '' NOT NULL ,
texte text DEFAULT '' NOT NULL ,
image1 varchar(255) DEFAULT '' NOT NULL ,
pdf varchar(255) DEFAULT '' NOT NULL ,
on_special tinyint(4) DEFAULT '0' NOT NULL ,
date_insere date DEFAULT '0000-00-00' NOT NULL ,
date_maj date DEFAULT '0000-00-00' NOT NULL ,
lang char(3) DEFAULT '' NOT NULL ,
chapo text DEFAULT '' NOT NULL ,
etat int(1) DEFAULT '0' NOT NULL ,
PRIMARY KEY (id),
KEY name (titre)
le probleme c'est que je ne peux pas l'importé dans phpmyadmin de easyphp pour faire des test en local car il n'y a pas les séparateur ' '
(enfin je supose que c'est ca), car j'importe des fichier de ce type sans probleme:
-- Structure de la table `peel_articles`
--
CREATE TABLE `peel_articles` (
`id` int(11) NOT NULL,
`surtitre` varchar(255) NOT NULL default '',
`titre` varchar(255) NOT NULL default '',
`texte` text NOT NULL,
`image1` varchar(255) NOT NULL default '',
`pdf` varchar(255) NOT NULL default '',
`on_special` tinyint(4) NOT NULL default '0',
`date_insere` date NOT NULL default '0000-00-00',
`date_maj` date NOT NULL default '0000-00-00',
`lang` char(3) NOT NULL default '',
`chapo` text NOT NULL,
`etat` int(1) NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `name` (`titre`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
Si quelqu'un pouvait m'aider ca serai vraiment sympa.
Bonne soirée