added file upload codes: sql connection to table but have errors on the table located on the database