Thanks for the info about the SQL injection, I will take that into account.
So you are suggesting that I change my code to something like this, right?:
=======================
$query = sprintf("INSERT INTO inventory VALUES ('%s','%s','%s','%s', '%s','%s','%s','%s','%s','%s')";,
mysql_real_escape_string($CID),
mysql_real_escape_string($ImageFile),
mysql_real_escape_string($ItemTitle),
mysql_real_escape_string($ItemNo),
mysql_real_escape_string($Barcode),
mysql_real_escape_string($Description),
mysql_real_escape_string($Dept),
mysql_real_escape_string($Price),
mysql_real_escape_string($Quantity),
mysql_real_escape_string($Shipping));
mysql_query($query);
=======================