上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页
摘要: mysql -u root -p password < path_to_import_file –default-character-set = utf8 阅读全文
posted @ 2012-09-06 15:33 derrck 阅读(257) 评论(0) 推荐(0) 编辑
摘要: varremove_obj=document.getElementById(id);varparent_obj=remove_obj.parentNode;parent_obj.removeChild(remove_obj); 阅读全文
posted @ 2012-08-16 15:33 derrck 阅读(835) 评论(0) 推荐(0) 编辑
摘要: strip_tags(addslashes($value)) 阅读全文
posted @ 2012-08-14 13:49 derrck 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 最基本的连接,输出$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 阅读(4669) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(120) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 你应该知道 (说明:本文转自公司知识库的一篇原创文章,作者:李瑞宽) 想象你是一个初出茅庐的小菜鸟,上头交代你做任务,你对其中的一项任务有那么一小点疑问,你怯生生地问:“我觉得这项任务说得不是很清楚,那样做行吗?为什么呢?我觉得应该这样做更好。”项目很紧,上头头大着呢,他很不耐烦地对你说:“不要问那么多!我都考虑清楚了,只要照着做就行!”你应该怎么办呢?你是就这样屁颠屁颠地去做了,还是还是觉得你应该知道为什么要按照他说的做,而不是按照你说的做吗? 你应该知道。而且你要一直坚持“我应该知道”这种想法,因为这种想法,会带领你走进一片新天地。你可能还意识不到,你现在的是否坚持和你后续的发展休戚相关. 阅读全文
posted @ 2011-04-28 17:10 derrck 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 转<!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 阅读(6900) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页