08 2015 档案

摘要:上次做项目的时候,遇到 查询结果为 数组。因为条件原因,需要用$where['_string'] 去组合查询。进而用到把数组变成单引号的字符串。举例:查询返回的数组为:$projectcode_array = ["20130719","20130718","20130717"];通过function... 阅读全文
posted @ 2015-08-30 16:19 幻星宇 阅读(3109) 评论(0) 推荐(0) 编辑
摘要:查:$read = Mage::getSingleton("core/resource")->getConnection('core_read');$sql = "select * from `abc`"; $result = $read->fetchAll($sql); //fetchRow查找一... 阅读全文
posted @ 2015-08-26 21:57 幻星宇 阅读(493) 评论(0) 推荐(0) 编辑
摘要:event: 1 //得到事件 2 function getEvent(evt){ 3 4 if (evt && typeof(evt) != "undefined") { 5 var e = window.event || arguments.callee.caller.... 阅读全文
posted @ 2015-08-26 09:49 幻星宇 阅读(346) 评论(0) 推荐(0) 编辑
摘要:So it turns out the problem was that Apache didn't have write permissions to theWEBROOT/vardirectory, so Magento was using its cache from the system/t... 阅读全文
posted @ 2015-08-24 19:35 幻星宇 阅读(506) 评论(0) 推荐(0) 编辑
摘要:jsapi中跳转到微信支付中触发的方法是js中的getBrandWCPayRequest方法。改方法中的返回结果msg提示信息如下:err_msg:get_brand_wcpay_request:ok 支付成功 get_brand_wcpay_request:cancel 支付过程中用户取消 ge... 阅读全文
posted @ 2015-08-24 16:33 幻星宇 阅读(1992) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示