<?php
try
{
$bdd = new PDO('mysql:host=localhost;dbname=patiobase', 'root', '');
}
catch (Exception $e)
{
die('Erreur : ' . $e->getMessage());
}
// Requete de recherche d'éxistance du numero pedido, code matériel et quantité transportée
$reponse = $bdd -> prepare("select italiano
from messaggi
where Key='messaggio'");
$reponse->closeCursor(); // Termine le traitement de la requête
?>
<script type="text/javascript">
alert('<?php echo $response ?>');
</script>
cosi non mi funziona