$result=mysql_query("SHOW TABLE STATUS LIKE 'accesso_voti' ");

ma dove hai preso il resto?