COMMENT UTILISER WAMP SERVEUR

Fermé
kelson - 11 juin 2009 à 00:45
 amoric69 - 23 janv. 2011 à 19:30
Bonjour,svp pouvez vous me donner un coup de main concernant l'utilisation de wamp serveur,un tuto me fera beaucoup plaisir.merci
A voir également:

2 réponses

Bonsoir,

Savez-vous pourquoi la nouvelle version de wamp m'affiche des erreurs alors que mon code marchait sur l'ancienne version ?!


Les erreurs affichées :

( ! ) Notice: Use of undefined constant F - assumed 'F' in C:\wamp\www\plt_2011\index.php on line 130
Call Stack
# Time Memory Function Location
1 0.0119 409592 {main}( ) ..\index.php:0

( ! ) Notice: Undefined variable: mois in C:\wamp\www\plt_2011\index.php on line 128
Call Stack
# Time Memory Function Location
1 0.0119 409592 {main}( ) ..\index.php:0
2 0.0221 419368 getMois( ) ..\index.php:131


les lignes :

<?php
$mois["January"] = "Janvier";
$mois["Febrary"] = "Février";
$mois["March"] = "Mars";
$mois["April"] = "Avril";
$mois["May"] = "Mai";
$mois["June"] = "Juin";
$mois["July"] = "Juillet";
$mois["August"] = "Août";
$mois["September"] = "Septembre";
$mois["October"] = "Octobre";
$mois["November"] = "Novembre";
$mois["December"] = "Décembre";

function getMois($month){
return $mois[$month];
}
$month = Date(F);
getMois($month);

?>


Merci pour vos réponses o_O
5
salut!

Tiens voilà avec quoi j'ai appris,

https://openclassrooms.com/fr/courses#ss_part_3

bonne lecture!
-3