Mysql 区分大小写

piaoling  2012-08-14 16:00:16

Select BINARY('fieldName') from table......

类别 :  默认(739)  |  浏览(3172)  |  评论(0)

mysql import large file

piaoling  2012-08-14 15:20:45

load data infile "translate.txt" into table woger_translate fields terminated by ',' enclosed by '"' lines terminated by '\n';......

类别 :  Mysql(6)  |  浏览(4001)  |  评论(0)

Magento collection columns

piaoling  2012-08-13 11:59:47

$collection = Mage::getModel('catalog/product')->getCollection() ->addAttributeToSelect(); $select = $collection->getSelect(); $columns = $select->getPart('columns'); $select->setPart('columns',array(array('e','entity_id','entity_id'),array('e','price','price'))); Zend_Debug::dump($select->__toString()); ......

类别 :  magento(258)  |  浏览(3485)  |  评论(0)

effecit

piaoling  2012-08-10 13:17:21

<?php echo array_sum( array_map( function( $value ) { return ( $value % 3 == 0 || $value % 5 == 0 ) ? $value : 0; }, range( 1,999 ) ) ); ......

类别 :  默认(739)  |  浏览(3361)  |  评论(0)

ubuntu System Load Indicator

piaoling  2012-08-10 11:57:51

System Load Indicator ......

类别 :  ubuntu(21)  |  浏览(3988)  |  评论(0)

Ubuntu下安装配置Subversion服务器

piaoling  2012-08-09 13:41:32

Subversion在Linux下的设置比Windows简单,今天我们一起来看看如何在Ubuntu下安装配置Subversion服务器。 1、首先需要安装Subversion软件: sudo apt-get install subversion  2、创建仓库 svnadmin create /var/svn  /var/svn 为所创建仓库的路径,理论上可以是任何目录 3、修改配置文件/var/svn/conf/svnserve.conf #去掉#[general]前面的#号   [general]   #匿名访问的权限,可以是read,......

类别 :  ubuntu(21)  |  浏览(4300)  |  评论(0)

wallpaper

piaoling  2012-08-08 12:44:15

......

类别 :  默认(739)  |  浏览(3003)  |  评论(0)

do you know it

piaoling  2012-08-07 15:32:23

000......

类别 :  默认(739)  |  浏览(2894)  |  评论(0)

asfa

piaoling  2012-08-07 15:11:56

test php......

类别 :  默认(739)  |  浏览(3052)  |  评论(0)

magento随机显示产品-可在cms中调用

piaoling  2012-08-07 15:08:46

magento随机显示产品-可在cms中调用 在可以cms静态块中调用,可以以在产品页面插入, 1.建立phtml文件, 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 <?php $chosen_category = Mage::getModel('catalog/category')->load($this->getCategoryId()); $_helper = $this->helper('catalog/output'); $_productCollection = $this......

类别 :  magento(258)  |  浏览(4150)  |  评论(0)
  • Page:20/144  1439 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类