我需要解密值,因此MySQL能匹配,並顯示記錄MySQL的SELECT語句mc_decrypt
$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' ");
我需要解密值,因此MySQL能匹配,並顯示記錄MySQL的SELECT語句mc_decrypt
$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你需要使用具有試試這個檢查conndition:
SELECT用戶,ALINK AS url_name FROM my_link WHERE user ='$ user_name'HAVING'「.mc_decrypt(''url_name'',ENCRYPTION_KEY)。''='$ url_name_check'
您使用哪種語言? – galkin