<?php mysql_connect("mysql153.secureserver.net","navioo","password"); mysql_select_db("navioo");
$id = "12"; $name = "Joe";
$query = "INSERT INTO Employee SET id='$id', name='$name'"; $result = mysql_query($query);
// Display an appropriate message if ($result) echo "<p>Product successfully inserted!</p>"; else echo "<p>There was a problem inserting the Employee!</p>";
mysql_close(); ?>
|