摘要: 1.查看服务的编码命令:showvarialbeslike'character%';就会有以下显示:记住一定要character_set_client,character_set_connection,character_set_database,character_set_results,character_set_server,character_set_system他们的编码一致才不会有乱码,现在就把他设置为utf82.my.ini文件中把[client]下的default-character-set=utf8的编码设置为utf83..my.ini文件中把[mysqld] 阅读全文
posted @ 2013-04-24 10:17 疯情万种 阅读(141) 评论(0) 推荐(0)
摘要: 一、在CSS中加入如下字段属性.input{font-family:Tahoma,Arial,宋体;font-size:8pt;line-height:15px;COLOR:#000000;border-top-style:none;border-right-style:none;border-bottom-style:dashed;border-left-style:none;border-bottom-color:#000000;border-top-width:0px;border-right-width:0px;border-bottom-width:1px;border-left-w 阅读全文
posted @ 2013-04-24 10:15 疯情万种 阅读(711) 评论(0) 推荐(0)
摘要: 在我只做考试系统时,出现了难题就是如何进行随机抽题,经过仔细考虑研究出的代码,给大家分享下:1.首先在js中发送请求,并传入参数科目和抽题数量selurl3 = "page/choiceInfoAction!getChoicebyCourse?ids="+coursename+"&sum="+operationId1.list[0].p_select_qno;jQueryEasyUI.ajaxCRUD(selurl3,"#medicalEquipmentGrid","",function(operation 阅读全文
posted @ 2013-04-17 10:55 疯情万种 阅读(313) 评论(0) 推荐(0)