摘要: // SQL Update多表联合更新的方法 distinct[去除重复字段]update table as t set has_attachments = 1 ,topicid=(select distinct topicid from zoon_attachments as t2 where t... 阅读全文
posted @ 2015-03-12 10:27 LoveProgram 阅读(411) 评论(0) 推荐(0)
摘要: 1、PHP加密解密PHP加密和解密函数可以用来加密一些有用的字符串存放在数据库里,并且通过可逆解密字符串,该函数使用了base64和MD5加密和解密。function encryptDecrypt($key, $string, $decrypt){ if($decrypt){ $decrypted ... 阅读全文
posted @ 2015-03-12 10:23 LoveProgram 阅读(99) 评论(0) 推荐(0)