If I could trouble everyone again - I've been trying to use everyone's suggestions but am still having a problem.
Here is what I'm now using:
<?
if ($submit) {
$db = mysql_connect("localhost", "msdsdb", "vip5330")or DIE("Connection attempt failed");
mysql_select_db("msds", $db) or DIE("Database selection failed");
$query = "INSERT INTO msds (product_name, manufacturer, supplier, common_name, dolu, notes, linked_name) VALUES ('$product_name', '$manufacturer', '$supplier', '$common_name', '$dolu', '$notes', '$linked_name')";
$result=mysql_query($query, $db);
if (!result) echo mysql_error;
else echo "Add Successful!";
}
?>
<form enctype="multipart/form-data" method="post" action="<?echo $PHP_SELF;?>">
<P>Product Name: <BR><input type=text name='product_name' size=65><HR></P>
<P>Manufacturer: <BR><input type=text name='manufacturer' size=65><HR></P>
<P>Supplier: <BR><input type=text name='supplier' size=65><HR></P>
<P>Common Name: <BR><input type=text name='common_name' size=65><HR></P>
<P>Date of Last Update/Modification: <BR><input type=text name='dolu' size=65><HR></P>
<P>Notes: <BR><textarea name="notes" name='notes' rows=3 cols=65></textarea><HR></P>
<P>Linked Document:<BR><input type="file" name='linked' size=100><HR></P><BR>
<input type="submit" name="submit" value="Upload">
</form>
Now its telling me that the add was successful, but my data still isn't making it into the MySQL database.
Any more suggestions?