Vi posto il codice, riuscite ad aiutarmi? CodiceFiscale è la chiave primaria della tabella quindi non c'è bisogno di mettere una ripetizione o sbaglio? Ho letto e riletto ma non riesco a trovare l'errore
Codice HTML:[PHP]<?php include('db_conn.php'); $CF=$_POST['CF']; $query=mysql_query("SELECT * FROM Clienti WHERE CodiceFiscale='".$CF."'"); $riga=mysql_fetch_array($query); $nome=$riga['Nome']; $cognome=$riga['Cognome']; $tel=$riga['NuemroDiTelefono']; $impDaVer=$riga['ImportoDaVersare']; $ListaPatenti=$riga['CategoriaPatente']; $impVers=$riga['ImportoVersato']; $saldato=$riga['Saldato']; ?> <form action="nuovoCliente.php" method="POST"> <pre> CODICE FISCALE <input type="text" name="CFF" value="<?= $CF ?>"><br/><br/> NOME <input type="text" name="nomeF" value="<?= $nome ?>"><br/><br/> COGNOME <input type="text" name="cognomeF" value="<?= $cognome ?>"><br/><br/> TEL. <input type="text" name="telF" value="<?= $tel ?>"><br/><br/> IMPORTO DA VERSARE <input type="text" name="impDaVerF" value="<?= $impDaVer ?>"><br/><br/> CATEGORIA PATENTE <select name="ListaPatentiF">');[/PHP]

1Likes
LinkBack URL
About LinkBacks

