Minecuping !
+9
9decarreau
Olive-5
LouisXIV
Dragorn
freepostpas
Mogolecho
zouglou
azertyfun
TheZopo
13 participants
Serveur Minecraft gratuit RP, Freebuild, PvP, sans white list :: Autres :: Taverne des joueurs :: Taverne des g33ks!
Page 7 sur 7
Page 7 sur 7 • 1, 2, 3, 4, 5, 6, 7
Re: Minecuping !
J'ai modifié le script PHP, pour inséré le champs "ID" qui n'y était pas :
http://pastebin.com/NYDv9fhp
Dites moi si j'ai fait des erreurs.
http://pastebin.com/NYDv9fhp
Dites moi si j'ai fait des erreurs.
TheZopo- Messages : 374
Points : 416
Réputation : 8
Date d'inscription : 30/05/2012
Age : 25
Localisation : Derière toi ! BOU !
Re: Minecuping !
Justement, le champ id, il ne faut pas le mettre . Il est auto-incrémenté.
freepostpas- Messages : 735
Points : 791
Réputation : 8
Date d'inscription : 24/08/2011
Age : 28
Re: Minecuping !
Ca se fait automatiquement a chaque requète ?
TheZopo- Messages : 374
Points : 416
Réputation : 8
Date d'inscription : 30/05/2012
Age : 25
Localisation : Derière toi ! BOU !
Re: Minecuping !
Quel con XD :
DEFAULT '0' NOT NULL auto_increment
C'est pas le code qu'il faut changer, mais la requête SQL
DEFAULT '0' NOT NULL auto_increment
C'est pas le code qu'il faut changer, mais la requête SQL
- Code:
CREATE TABLE IF NOT EXISTS `users` (
`ID` int(11) DEFAULT '0' NOT NULL auto_increment,
`player` text COLLATE utf8_bin NOT NULL,
`accept_av` tinyint(1) NOT NULL,
`grade_av` text COLLATE utf8_bin NOT NULL,
`accept_ap` tinyint(1) NOT NULL,
`grade_ap` text COLLATE utf8_bin NOT NULL,
`ville1` text COLLATE utf8_bin NOT NULL,
`ville2` text COLLATE utf8_bin NOT NULL,
`ville3` text COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
TheZopo- Messages : 374
Points : 416
Réputation : 8
Date d'inscription : 30/05/2012
Age : 25
Localisation : Derière toi ! BOU !
Page 7 sur 7 • 1, 2, 3, 4, 5, 6, 7
Serveur Minecraft gratuit RP, Freebuild, PvP, sans white list :: Autres :: Taverne des joueurs :: Taverne des g33ks!
Page 7 sur 7
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum
|
|