2011-07-09 15:17:59 0 Comments Css Boy.Lee

line-height and hight in Css

use css control line-height and height

Yii PHP Framework 1.1.8 is released

Yii PHP Framework 1.1.8 is released

Upload and Rename a file in Yii 1.0

Upload a file and Rename the file in Yii 1.0 Framework

get int in Javascript

format number to int in Javascript

sets scenario for a model in Yii 1.0

in Yii 1.0 Framework sets scenario for a model in different condition

use jQuery to control input disabled attribute

use jQuery set form input element disable status
2011-06-15 00:03:10 0 Comments Html Boy.Lee

Set disabled or readonly for input

set disabled or readonly attribute for form input element

Code Demo for beforeAction

Code Demo for beforeAction in Yii 1.0 Framework
2011-06-12 16:36:36 0 Comments News Boy.Lee

Server Move Success

Changed to a new server, solved some problems.

梦回汶川

回忆当年年少的轻狂和冲动, 回忆当年的点滴

rewrite htaccess file

set rewrite for .htaccess file on Apache Web server

upload ActiveForm setting in Yii

if you want use ActiveForm upload files in Yii, you need do the follow setting

random num generate function in JavaScript or jQuery

a quick and easy use function for JavaScript or jQuery generate random number
2011-04-29 19:33:04 0 Comments Css Boy.Lee

Break line break words in Css

Break line break words in Css

get a rand record from DB.Table

a very cool way to get a rand record from MySQL Table

ajax control in Yii Code Demo

ajax control in Yii 1.0 Framework