A voir également:
- Systeme de point (avec inscription)
- Restauration systeme windows 10 - Guide
- Wetransfer gratuit sans inscription - Guide
- Point de suite word - Guide
- Twitter inscription - Guide
- Vinted inscription - Guide
3 réponses
ben, dans ton formulaire de vote ; tu récupére l'identifiant de la personne, et tu lui ajoute 3 points dans la base de donnée ...
Euh...Pas piger dsl mais normalement mes SQL c'est plus
CREATE TABLE IF NOT EXISTS 'vote_users' (
'username' VARCHAR( 250 ) DEFAULT NULL ,
'site1' TIMESTAMP NULL DEFAULT NULL ,
'site2' TIMESTAMP NULL DEFAULT NULL ,
'site3' TIMESTAMP NULL DEFAULT NULL ,
'site4' TIMESTAMP NULL DEFAULT NULL ,
'site5' TIMESTAMP NULL DEFAULT NULL ,
'points' INT( 11 ) NOT NULL DEFAULT '0',
'pointsleft' INT( 11 ) NOT NULL DEFAULT '0'
) ENGINE = MYISAM DEFAULT CHARSET = latin1;
Donc je suis pomer :/
CREATE TABLE IF NOT EXISTS 'vote_users' (
'username' VARCHAR( 250 ) DEFAULT NULL ,
'site1' TIMESTAMP NULL DEFAULT NULL ,
'site2' TIMESTAMP NULL DEFAULT NULL ,
'site3' TIMESTAMP NULL DEFAULT NULL ,
'site4' TIMESTAMP NULL DEFAULT NULL ,
'site5' TIMESTAMP NULL DEFAULT NULL ,
'points' INT( 11 ) NOT NULL DEFAULT '0',
'pointsleft' INT( 11 ) NOT NULL DEFAULT '0'
) ENGINE = MYISAM DEFAULT CHARSET = latin1;
Donc je suis pomer :/