COMMENT UTILISER WAMP SERVEUR

kelson -  
 amoric69 -
Bonjour,svp pouvez vous me donner un coup de main concernant l'utilisation de wamp serveur,un tuto me fera beaucoup plaisir.merci

2 réponses

  1. amoric69
     
    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