DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
yii1 findall as array listData
$array = CHtml::listData(Trips::model()->findAll(), 'trip_id', 'trip_name');
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#findall
#array
#listData
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit