会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
行云
看透,看懂
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
15
下一页
2012年9月6日
MYSQL 命令行导入SQL脚本
摘要: mysql -u root -p password < path_to_import_file –default-character-set = utf8
阅读全文
posted @ 2012-09-06 15:33 derrck
阅读(262)
评论(0)
推荐(0)
2012年8月16日
JS删除页面中的元素
摘要: varremove_obj=document.getElementById(id);varparent_obj=remove_obj.parentNode;parent_obj.removeChild(remove_obj);
阅读全文
posted @ 2012-08-16 15:33 derrck
阅读(848)
评论(0)
推荐(0)
2012年8月14日
将数据插入数据库前需要的两个函数
摘要: strip_tags(addslashes($value))
阅读全文
posted @ 2012-08-14 13:49 derrck
阅读(266)
评论(0)
推荐(0)
2012年3月14日
IE6 IE7 IE8 FF 样式区分写法
摘要: if( /msie 8/.test(window.navigator.userAgent.toLowerCase()) ) { //区分IE8的JS0.关于IE8的hacks:.test{ color:/*\**/#00f\9; /* IE8 only */ color:#00f\9; /* 适用于...
阅读全文
posted @ 2012-03-14 16:24 derrck
阅读(287)
评论(0)
推荐(0)
2012年1月6日
php上传文件代码
摘要: php上传文件代码HTML的FORM代码中一定要写enctype="multipart/form-data", 不然获取不到文件数据。HTML: <formid="contrast_form"name="contrast_form"action="test.php"method="POST"enctype="multipart/form-data"><inputtype="file"name="file"id=&quo
阅读全文
posted @ 2012-01-06 10:49 derrck
阅读(356)
评论(0)
推荐(0)
2011年12月23日
PHP连接MYSQL数据库语句
摘要: 最基本的连接,输出$conn=mysql_connect('localhost','root','');//mysql_query("SETNAMES'gbk'",$conn);mysql_select_db('sim',$conn);$strSQL="select*fromsim_stui_nfo";$rs=mysql_query($strSQL);if(($num=mysql_num_rows($rs))>0){$row=mysql_fetch_array($rs)
阅读全文
posted @ 2011-12-23 11:00 derrck
阅读(4676)
评论(0)
推荐(0)
2011年8月13日
随便写写
摘要: I'm up for it.I really regret not spending more time with them.But won't it look stupid if we 're all drinking same things.Women value honesty above all else.
阅读全文
posted @ 2011-08-13 16:28 derrck
阅读(129)
评论(0)
推荐(0)
2011年8月4日
jquery查找document节点
摘要: <script type="text/javascript">$(document).ready(function() { $("#birth_month").next("div").children("ul").css("height","240px");});</script>页面结构是<div id="birth_month"></div><div><ul></ul>
阅读全文
posted @ 2011-08-04 17:10 derrck
阅读(271)
评论(0)
推荐(0)
2011年4月28日
你应该知道
摘要: 你应该知道 (说明:本文转自公司知识库的一篇原创文章,作者:李瑞宽) 想象你是一个初出茅庐的小菜鸟,上头交代你做任务,你对其中的一项任务有那么一小点疑问,你怯生生地问:“我觉得这项任务说得不是很清楚,那样做行吗?为什么呢?我觉得应该这样做更好。”项目很紧,上头头大着呢,他很不耐烦地对你说:“不要问那么多!我都考虑清楚了,只要照着做就行!”你应该怎么办呢?你是就这样屁颠屁颠地去做了,还是还是觉得你应该知道为什么要按照他说的做,而不是按照你说的做吗? 你应该知道。而且你要一直坚持“我应该知道”这种想法,因为这种想法,会带领你走进一片新天地。你可能还意识不到,你现在的是否坚持和你后续的发展休戚相关.
阅读全文
posted @ 2011-04-28 17:10 derrck
阅读(170)
评论(0)
推荐(0)
2011年4月1日
js的popUp效果
摘要: 转<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/&
阅读全文
posted @ 2011-04-01 09:27 derrck
阅读(6945)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
15
下一页
公告