Demo entry 6351675

php

   

Submitted by anonymous on Mar 22, 2017 at 11:55
Language: PHP. Code size: 555 Bytes.

<?php

function insertenti()
{
    include ("db.php"); //dove ci sono i dati di connessione e il nome delle table

	$nome=$_POST['nome'];
	$nome=addslashes($nome);
	$nome = html_entity_decode($nome);
    $indirizzo=$_POST['indirizzo'];
    $telefono=$_POST['telefono'];
	$email=$_POST['email'];
	$stato=$_POST['stato'];
	
	    
$query="INSERT INTO $table3 VALUES('','$nome','$indirizzo','$telefono','$email','$stato')";
$go=mysql_query($query, $link) or die (mysql_error()); 

}
insertenti();
header("Location:../forminsente.php")
?> 

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).