vi filter.module
comment these lines:
假设你有这么一个关联数组:
创建新用户并登录
Ajax调用任何区块的例子
Place 2 div's with the ID of boost-stats & boost-user where you would like the data to appear. I use a block to do this.
三条语句解决了。
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER_SET_CLIENT=utf8");
mysql_query("SET CHARACTER_SET_RESULTS=utf8");
最新views 3.x(drupal 7)的变动
例子: 不显示pager,仅显示6条记录,如下:
$view->display_handler->set_option('pager', array('type'=>'some','options' => array('items_per_page' => 6)));
========================================================================