$check = mysql_query("SELECT encrypt FROM database WHERE word='$word'") or die(mysql_error());
返回的错误是:您的SQL语法中有一个错误;请查看与您的MySQL服务器版本对应的手册,了解在第1行使用'database WHERE word='asdaasdasdd'‘的正确语法
试图安装mysql,使用apt-get,但失败了。Reading package lists...The following NEW packages will be installed:0 upgraded, 2 newly installedUnpacking mysql-server-5.5 (from ...Unpacking mysql-server