Heres an example I just tried but for some reason its not working.....
<?php
$db = mysql_connect("localhost", "root","");
mysql_select_db("test",$db);
$sql = "INSERT INTO personnel (firstname, lastname, nick, email, salary) VALUES ('$first','$last','$nickname','$email','$salary')";
$result = mysql_query($sql);
echo 'Thank you! Information entered.';
?>
whenever the form from before it passes to this file it says
Notice: Undefined variable: first in c:\public_website\Test\datain.php on line 4
Notice: Undefined variable: last in c:\public_website\Test\datain.php on line 4
Notice: Undefined variable: nickname in c:\public_website\Test\datain.php on line 4
Notice: Undefined variable: email in c:\public_website\Test\datain.php on line 4
Notice: Undefined variable: salary in c:\public_website\Test\datain.php on line 4
huh????