<?php
$conn = mysql_connect('localhost','root','');
$db = mysql_select_db('myhospitalv2',$conn);
mysql_query("set names utf8");
$sql="insert into user1 (name,tel,email,unit)". " values (md5('zhipeng'),15234574411,'zhipeng0520@126.com','beijing')";
mysql_query($sql);
mysql_close($conn);
?>
MySQL使用MD5函数加密
最新推荐文章于 2024-10-18 12:00:00 发布