title: Add a mysql record from php
body: <p>Why does this code not work?
  I need to insert a new record on mysql called "utenti" but this code doesn't work:</p>
  
  <pre><code>&lt;?php
      $nome = $_REQUEST["nomeUtente"];
      $cognome = $_REQUEST["cognome"];
      $psw = $_REQUEST["psw"];
      $email = $_REQUEST["email"];
      $cell = $_REQUEST["num"];           
  
      echo $nome . " / " . $cognome . " / " . $psw . " / " . $email . " / " . $cell;
      echo "&lt;br&gt;";
  
      $conn = mysql_connect("hostName","User","password");
  
      if(!$conn){
          echo "connessione non satabilita";
      }else{
          if(!mysql_select_db("a4102239_utenti",$conn)){
              echo "database non trovato";
          }else{
              $sql = "INSERT INTO utenti (id,psw,nome,cognome,email,cellulare) VALUES (NULL,'$psw','$nome','$cognome','$email','$cell')"; //costruzione comando di ricerca      
          }
      }
  ?&gt;
  </code></pre>