Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $username = "hopwoodenterprises";
- $password = "";
- $host = "localhost";
- $database = "my_hopwoodenterprises";
- $db = mysql_connect($host, $username, $password) or die("Error during connection");
- mysql_select_db($database, $db) or die("Error during the selection");
- $query="INSERT INTO Veicoli_Venduti (IDVeicolo, IDVenditore, Data, Prezzo, Acquirente) VALUES ('".$idveicolo."','".$_SESSION['IDutente']."','".$time1."','".$money."','".$buyer."');";
- mysql_query($query);
- mysql_close($con);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement