
Envoyé par
jreaux62
Bonjour,
il ne manque rien, ligne 2 ?
Quoi ?
J'ai essayé cette requete dans phpmyadmin
INSERT INTO `annonces`(`id_cat`, `id_region`, `id_user`, `dateCreation`, `dateModification`, `prix`, `titre`, `description`) VALUES (1,1,1,DATE('2013-08-19'),DATE('2013-08-19'),9.99,'un beau gros test negga','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.')
Erreur : #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's standard dummy text ever since the 1500s, when an unknown printer took a galle' at line 1
Le text que j'essaye d'insérer provient de lorem Ipsum. Es que sa plante a cause que dans mon text il y a les mots when , and ... ?
EDIT : en utilisant des doubles guillemets je suis capable d'insérer mon texte.
Partager