posted @ 2013-04-02 01:46 Kanone 阅读(126) 评论(0) 推荐(0) 编辑
摘要:
Northface Gore-Tex 冲锋衣 + 登山鞋KindleBrita滤水壶Sandisk CZ80 -64G U盘Asics跑鞋Nike Pro速干衣氨基酸洗发水Brita滤水壶Lamy 钢笔 阅读全文
摘要:
一句话:采用eval函数计算JSON字符串时要添加额外的括号,如下:var object = eval('(' + JSON + ')'); 阅读全文
posted @ 2013-03-28 05:41 Kanone 阅读(360) 评论(2) 推荐(0) 编辑
摘要:
从manual上知道了mysql_affected_rows函数当UPDATE前后的数据一样时会返回异常值,下面有个方便的解决办法,从官方munual上看到 bdobrica at gmail dot com留言的:As a solution to the problem pointed in the post reffering to mysql_affected_rows() returning 0 when you are making an update query and the fields are not modified although the query is valid, 阅读全文
posted @ 2013-03-23 02:30 Kanone 阅读(600) 评论(2) 推荐(0) 编辑