OK!Originariamente inviato da trifabbio
Ciao,
il nome delle variabili è sbagliato.
Si chiama $_POST e non $POST.
Ciao
Fabio
Grazie....Codice PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>Inserimento Condomino</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Quanta Plus">
<style type="text/css">
input {font-size:8pt;}</style>
</head>
<?php
require ("testa.php");
?>
<table width='100%' border='0' colspan='2'><tr><td width='50%'>
<table width='100%' border='1' bgcolor='#AAAAAA'></td>
<td style='font size:14pt'>[b]Cognome[/b]</td>
<td style='font size:14pt'><input type='text' name='Cognome' size=45 maxlength=40 alt='cognome condomino' align='left'<tr>
<td style='font size:14pt'>[b]Nome[/b]</td>
<td style='font size:14pt'><input type='text' name='Nome' size=45 maxlength=40 alt='nome condomino' align='left'<tr>
<td style='font size:14pt'>[b]Codice Fisc/P.IVA.[/b]</td>
<td style='font size:14pt'><input type='text' name='Cod_fisc_Part_iva' size=20 maxlength=16 alt='CodfiscPartiva' align='left'<tr>
<td style='font size:14pt'>[b]Sesso.[/b]</td>
<td><select name='Sesso' style='font-size:10pt'>
<option>M</option>
<option>F</option>
<option>S</option>
</select> </td><tr>
<td style='font size:14pt'>[b]Categoria protetta.[/b]</td>
<td><select name='Categoria Protetta' style='font-size:10pt'>
<option>S</option>
<option>N</option>
</select> </td><tr>
<td style='font-size:12pt'>[b]Cittadinanza[/b]</td>
<td style='font size:14pt'><input type='text' name='Cittadinanza' size=45 maxlength=40 alt='Cittadinanza' align='left'<tr>
<td style='font-size:12pt' align='center'>Recapito</td><tr>
<td style='font size:14pt'>[b]Indirizzo[/b]</td>
<td style='font size:14pt'><input type='text' name='Indirizzo' size=45 maxlength=40 alt='indirizzo' align='left'<tr>
<td style='font size:14pt'>[b]Comune.[/b]</td>
<td style='font size:14pt'><input type='text' name='Comune' size=45 maxlength=40 alt='comune' align='left'<tr>
<td style='font size:14pt'>[b]C.A.P.[/b]</td>
<td style='font size:14pt'><input type='text' name='Cap' size=5 maxlength=5 alt='cap' align='left'<tr>
<td style='font size:14pt'>[b]Civico.[/b]</td>
<td style='font size:14pt'><input type='text' name='Civico' size=15 maxlength=10 alt='civico' align='left'<tr>
<td style='font size:14pt'>[b]Interno.[/b]</td>
<td style='font size:14pt'><input type='text' name='Interno' size=15 maxlength=10 alt='interno' align='left'<tr>
<td style='font size:14pt'>[b]Telefono.[/b]</td>
<td style='font size:14pt'><input type='text' name='Telefono' size=25 maxlength=20 alt='telefono' align='left'<tr>
<td style='font size:14pt'>[b]FAX.[/b]</td>
<td style='font size:14pt'><input type='text' name='Fax' size=25 maxlength=20 alt='fax' align='left'<tr>
<td style='font size:14pt'>[b]EMail.[/b]</td>
<td style='font size:14pt'><input type='text' name='E_mail' size=45 maxlength=40 alt='email' align='left'<tr>
</table></td>
<td align='center'><table width='100%' border='1' bgcolor='#cccccc'><tr>
<td align='center'>Altri Recapiti</td><tr>
<td style='font size:14pt'>[b]Cellulare 1.[/b]</td>
<td style='font size:14pt'><input type='text' name='Cellulare_1' size=25 maxlength=20 alt='cellulare1' align='left'<tr>
<td style='font size:14pt'>[b]Cellulare 2.[/b]</td>
<td style='font size:14pt'><input type='text' name='Cellulare_2' size=25 maxlength=20 alt='cellulare2' align='left'<tr>
<td style='font size:14pt'>[b]EMail 1.[/b]</td>
<td style='font size:14pt'><input type='text' name='Email_1' size=45 maxlength=40 alt='email_1' align='left'<tr>
<td style='font size:14pt'>[b]Indirizzo.[/b]</td>
<td style='font size:14pt'><input type='text' name='Indirizzo_recapito' size=45 maxlength=40 alt='indirizzo_recapito' align='left'<tr>
<td style='font size:14pt'>[b]Comune.[/b]</td>
<td style='font size:14pt'><input type='text' name='Comune_recapito' size=45 maxlength=40 alt='comune_recapito' align='left'<tr>
<td style='font size:14pt'>[b]C.A.P.[/b]</td>
<td style='font size:14pt'><input type='text' name='Cap_recapito' size=5 maxlength=5 alt='cap_recapito' align='left'<tr>
<td style='font-size:12pt'>.</td><td style='font-size:12pt'></td></tr>
<td style='font-size:12pt'>.</td><td style='font-size:12pt'></td></tr>
<td style='font-size:12pt'>.</td><td style='font-size:12pt'></td></tr>
<td style='font-size:12pt'>.</td><td style='font-size:12pt'></td></tr>
<td style='font-size:12pt'>.</td><td style='font-size:12pt'></td></tr>
<td style='font-size:12pt'>.</td><td style='font-size:12pt'></td></tr>
<td style='font-size:12pt'>.</td><td style='font-size:12pt'></td></tr>
<td style='font-size:12pt'>.</td><td style='font-size:12pt'></td></tr></table></table>
<div align="center">
<form action="ins_condomino.php" method="post">
<hr>
<table align='left' width="100%">
<td align='center'>
<input type="submit" name="Inserisci" value="Inserisci"/>
</td>
</table>
<script language="Javascript">
<!-- Hide from old browsers
document.write("Questo documento è stato aggiornato "+document.lastModified+")
//-->
</script>
</body>
</html>