Page 1 sur 1

"Notice: Use of undefined constant "

Posté : 27 juil. 2006, 10:53
par soad0901
Bonjour, mon script marche online mais quand je le lance avec apache sur mon pc, voila l'erreur :

Notice: Use of undefined constant SCORE - assumed 'SCORE' in D:\...\inc.functions.php on line 9

A la ligne 9, j'ai pourtant bien déclaré cette variable !
define(SCORE, "1531351");

Posté : 27 juil. 2006, 10:57
par aelurus
Salut
define("CONSTANT", "Powaaa :)");

Posté : 27 juil. 2006, 11:06
par soad0901
Salut
define("CONSTANT", "Powaaa :)");
ah oké merci !

Posté : 27 juil. 2006, 11:11
par jojolapine
[résolu] :?:

Posté : 27 juil. 2006, 11:52
par Truc
Franchement débutant ou non avant de poster on cherche tout de même un minimum (google => define PHP) :roll: