added borders function,set mysql query to utf8