- 博客(12)
- 收藏
- 关注
原创 jQuery对select操作小结
//遍历option和添加、移除option function changeShipMethod(shipping){ var len = $("select[@name=ISHIPTYPE] option").length if(shipping.value != "CA"){ $("select[@name=ISHIPTYPE] option").each(function()
2013-11-28 17:06:08
303
原创 bug收集
1. 中文乱码 文章留言部分,把tipsWindown跳出框,改为jquery post, 发现评论内容用post传输过去的时候存入数据库就会出现乱码,弄了好久,把comment改为如下get传送,就没乱码了. $.post("/index.php?comment&comment="+comment, {
2013-11-28 10:28:11
285
原创 读取规则
$list = $mysql->db_fetch_arrays(str_replace(array('SELECT', 'ORDER', 'LIMIT'), array($_select, 'order by p1.id desc', $limit), $sql)); $list = $list?$list:array(); foreach ($
2013-11-12 17:59:31
329
原创 整数
SELECT ProductName, ROUND(UnitPrice,0) as UnitPrice FROM Products 用round函数取出来整数. http://www.w3school.com.cn/sql/sql_func_round.asp
2013-11-08 16:55:59
239
原创 远程登陆mysql
他帮我改错误,呵呵 update user set host = ’%’ where user = ’root’; 将权限改为ALL PRIVILEGES mysql> use mysql; Database changed mysql> grant all privileges on *.* to root@'%' identified by "root"; Query
2013-09-12 10:54:53
312
转载 图解局域网共享设置步骤
前言:局域网共享是个头疼的问题,只要找到的正确的设置方法,其实也很简单。原版也需要设置,否则也不能进行共享! 第一章:共享的前提工作: 1.更改不同的计算机名,设置相同的工作组! 2.我的电脑右键-管理-计算机管理-系统工具-本地用户和组-用户:更改管理员用户名 3.手动设置IP,将ip设置在同一个网段,子网掩码和DNS解析相同 4.如何设置DNS
2013-09-10 15:14:52
538
原创 屏蔽掉已注销用户的标 & Distinct语句 & 共享
...htdocs\modules\borrow\borrow.class.php Bug:把已经删除的用户的标都搜出来了。这里把删除标的用户取消 Line38:添加and p2.username is not null
2013-09-10 10:43:17
293
原创 varchar字符排序,cmd中读取mysql
9月9日 ---------------------------------------------------------------------------------------- 投资金额排序bug ...htdocs\modules\borrow\borrow.class.php ...htdocs\themes\ruizhict\invest.html 因为d
2013-09-10 10:31:04
378
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人