Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/64.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
mysql select语句mc_decrypt_Mysql_Select - Fatal编程技术网

mysql select语句mc_decrypt

mysql select语句mc_decrypt,mysql,select,Mysql,Select,我需要解密值,以便mysql能够匹配并显示记录 $ck_data = ("SELECT user, alink AS url_name FROM my_link WHERE user = '$user_name' and '".mc_decrypt('"url_name"', ENCRYPTION_KEY)."' = '$url_name_check' "); 在sql中使用AS时,需要使用以下命令检查连接: 从我的链接中选择user,alink作为url\u name,其中user='$us

我需要解密值,以便mysql能够匹配并显示记录

$ck_data = ("SELECT user, alink AS url_name FROM my_link WHERE user = '$user_name' and '".mc_decrypt('"url_name"', ENCRYPTION_KEY)."' = '$url_name_check' ");

在sql中使用AS时,需要使用以下命令检查连接:


从我的链接中选择user,alink作为url\u name,其中user='$user\u name'HAVING'.mc\u decrypt(''url\u name',ENCRYPTION\u KEY.)“'='$url\u name\u check'

您使用什么语言?感谢您的回复,我尝试不工作,任何其他方式,,?您确定在php调用未定义函数mc_decrypt()时可以使用函数mc_decrypt(),可能您需要这个mcrypt_decrypt()这个函数:mc_decrypt()我在php文档中找不到,我想这是个问题:)