query 'SET NAMES utf8' error: mysql_num_rows() expects parameter 1 to be...

... resource