![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
江湖小白
HI
展开
-
CSS float时,子元素与父元素大小问题
举个例子: #parent{ width:900px; backgound:gray; } #children_left{ width:450px; height:300px; float:left; background:pink; } #children_right{ width:450px; height:300px; float原创 2012-08-07 11:13:01 · 888 阅读 · 0 评论 -
YII 小模块功能
1,使用updateCounters()来更新计数器字段。 Book::model()->updateCounters(array('download_count'=>1),':id=id',array(':id'=>$id)); 2,使用sendFile()来下载文件。 $type = LFilter::checkString($_GET['t']); $dataProvider =转载 2013-11-21 17:37:18 · 646 阅读 · 0 评论