Home > Backend Development > PHP Tutorial > 这个php连接数据库代码错哪了啊

这个php连接数据库代码错哪了啊

WBOY
Release: 2016-06-13 12:45:29
Original
851 people have browsed it

这个php连接数据库代码哪里错了啊!
$find=mysql_connect(da7297f80aa7a35ad8418898e99a6156,121f559f1e06b2889190f0bc8af7e69d,387d0ee9a945d20e70d1c0bcababfbb5);
if(!$find){
  echo"数据库连接失败";
}else{
  echo"数据库连接成功";
}
$data=mysql_select_db(0e55dc7af851d87009b142fcd44757f3,$find);
mysql_query("SET NAME 'UTF8'");
?>
我想用MD5加密代替数据库信息!但,浏览器什么也没输出!到底哪里错了啊?求详细解决方法

s数据库
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template