remove show of errors for upload
substitute real sql formatter in php for project
check for table existance before download