摘要:
数据库死锁及解决死锁问题deadlocks(死锁)所谓死锁: 是指两个或两个以上的进程在执行过程中,因争夺资源而造成的一种互相等待的现象,若无外力作用,它们都将无法推进下去.此时称系统处于死锁状态或系统产生了死锁,这些永远在互相等待的进程称为死锁进程.由于资源占用是互斥的,当某个进程提出申请资源后,... 阅读全文
posted @ 2015-07-09 11:25
weicot
阅读(3193)
评论(0)
推荐(0)
摘要:
magento 手机自适应 瀑布流 混合样式 weicot.com 原创 getProductCollection()) && $_products->getSize()): ?> --> getPro... 阅读全文
posted @ 2015-07-09 10:47
weicot
阅读(437)
评论(0)
推荐(0)
摘要:
这个是我写的url 切换代码 用于记录//&pay=1&pr=50//preg_match 用于执行正则表达式 捕获组//$pattern='/(\w+)@(\w+).(com|org)/';$pattern='/(\w+)&(\w+)=(\w+)/';$prs='/&pr=(\w*)/i';$st... 阅读全文
posted @ 2015-07-09 10:36
weicot
阅读(302)
评论(0)
推荐(0)
摘要:
这是我学习链接数据库写的代码 没写完 先放这 以后在补充con = mysql_connect(self::$sname,self::$uname,self::$pword);if(!$this->con){ die("cound no connect:".mysql_error());}}p... 阅读全文
posted @ 2015-07-09 10:31
weicot
阅读(349)
评论(0)
推荐(0)
摘要:
catalog/product调用$product_model = Mage::getModel('catalog/product');$product = $product_model->load($product_id); //可通过product_id 获取 product_name$pro... 阅读全文
posted @ 2015-07-09 10:07
weicot
阅读(540)
评论(0)
推荐(0)
摘要:
magento 输出指定分类phtml文件//:custom categorygetLoadedProductCollection();$_helper= $this->helper('catalog/output');?>count()): ?>__('There are no products ... 阅读全文
posted @ 2015-07-09 10:02
weicot
阅读(162)
评论(0)
推荐(0)

浙公网安备 33010602011771号