MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/bosweb01/b2651/admin.tattso.com/
File Upload :
Current < : /hermes/bosweb01/b2651/admin.tattso.com/enter_entry_old.php

 <?php
 $servername = "phuckdesign.netfirmsmysql.com";
 $username = "tattso";
 $magicword = $_POST[magicword];
 $dbname = "places";

 // Create connection
 $conn = new mysqli($servername, $username, $magicword, $dbname);

 // Check connection
 if ($conn->connect_error) {
     die("Connection failed: " . $conn->connect_error);
 }

 $sql = "INSERT INTO GoogleMap (dateinfo, country, city, place, type1, type2, what, embed, origin)
 VALUES ('$_POST[dateinfo]', '$_POST[country]', '$_POST[city]', '$_POST[place]', '$_POST[type1]', '$_POST[type2]', '$_POST[what]', '$_POST[embed]', '$_POST[origin]')";

 if (mysqli_query($conn, $sql)) {
     echo "New record created successfully<BR><BR>
     ";
 } else {
     echo "Error: " . $sql . "<br>" . mysqli_error($conn);
 }

 $conn->close();

echo "<a href='new_entry.php'>Go back</a>"

 ?>