Still can't get it to work.
This is the abridged version of the form I enter the data into:
<?
echo "<FORM ACTION=\"$Relative/add.php\" METHOD=\"POST\">";
fontSize("-1","red","Arial","First Name:*<br>");
echo "<input type=\"text\" name=\"FirstName\" size=\"40\"><p>";
fontSize("-1","red","Arial","Middle Name:<br>");
echo "<input type=\"text\" name=\"MiddleName\" size=\"40\"><p>";
fontSize("-1","red","Arial","Last Name:*<br>");
echo "<input type=\"text\" name=\"LastName\" size=\"40\"><p>";
echo "</td><td><INPUT TYPE=\"SUBMIT\" VALUE=\"Add Details Now\"></td></tr></table></FORM>";
commonFooter($Relative,$UID);
?>
And this is the form the info gets posted to:
add.php
mysql_connect("$DBHost","$DBUser","$DBPass");
mysql ("$DBName","INSERT INTO Data VALUES (
'$FirstName','$MiddleName','$LastName'));
I need to be spoon feed on this one as it's the last thing I have to do for the entire site.
Thanks