Wiki

Articles tagged with "sql", sorted by commentsX
Displaying 1-2 of 2 result(s).

custom sql query results to CDetailView

Created about a year ago by KonApazHow-tos2 comments – viewed 16,983 times – ( +3 )
This is a bried guide about displaying of custom sql query results.

Using a CDbDataReader (sql query result) in a zii widget (such as CGridView or CListView)

Created 3 years ago by Revelis Luc BonninHow-tos1 comment – viewed 21,704 times – ( +9 / -1 ) – version 1.1
If in your application you have to proceed to a complex SQL query that is not associated to a model, you will use CDbDataReader like it is described in the Yii documentation. An example could be