Here is my insert code. What would I use for DocumentName. Not sure how to extract the File Field Name from the bind group.
$insertSQL = sprintf("INSERT INTO Documents (ContractID, DocumentName, upload_date) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['ContractID'], "int"),
GetSQLValueString($_POST['DocumentName'], "text"),
GetSQLValueString($_POST['upload_date'], "date"));