01 2018 档案

摘要:<?php$link = @mysql_connect('localhost', 'root', 'root');if (!$link) { die('Could not connect: ' . mysql_error());}mysql_query('use dangao');//预定义全局变量 阅读全文
posted @ 2018-01-31 15:05 heshimei77 阅读(92) 评论(0) 推荐(0)
摘要:<?php var_dump($_GET);//打印出对象的数据类型//链接数据库$link = @mysql_connect('localhost','root','root');#选择数据库mysql_select_db('dangao');#字符集utf8mysql_set_charset(' 阅读全文
posted @ 2018-01-15 11:29 heshimei77 阅读(124) 评论(0) 推荐(0)