I have a "Notice: undefined variable" error that I cannot solve:
Notice: Undefined variable: Nom in C:\wamp\www\cible_envoi.php on line 22
Could you please have a look at the code below and explain me what's wrong? Thanks!
cible_envoi.php:
<?php
try
{
    $bdd = new PDO('mysql:host=localhost;dbname=chansonniersduquebec.com', 'root', '');
}
catch (Exception $e)
{
    die('Erreur : ' . $e->getMessage());
}
$req = $bdd->prepare('INSERT INTO chansonniersduquebec.com (Nom) VALUES(?)');
$req->execute(array($_POST['Nom'])); // *** Line 22 ***
Incription.html:
<form id="Formulaire" name="Formulaire" method="post" action="cible_envoi.php">
  <label>
    <div align="center">Nom (votre nom d'artiste de préférence!)
      <span class="style1">*</span>
      <input type="text" name="Nom" id="Nom"/>
     </div>
     <p> </p>
   <label>
   ...
   <input type="submit" name="Soumettre" id="Soumettre" value="Soumettre" />
</form>
 
     
    