If i am not wrong you are trying to upload files. If then google "PHP Uploage Files". The strategy is usually to save filename (with path, depends), and a separate code to deal with the upload of the file to a specific folder (note, create this folder yourself on the server, PHP will not create it for you).
add this after GetSQLValueString function
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$uploaddir = 'images/';
$uploadfile = $uploaddir . basename($_FILES['image]['name']);
move_uploaded_file($_FILES['image]['tmp_name'], $uploadfile);
$_POST['image'] = basename($_FILES['image]['name']); //filename of the uploaded file
}
//the rest is okay
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO products (prodItemNum, productName, price, `description`, inventory, vendorID, categoryID, image, onSale) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)",