Yii Framework Forum: Getting Data From A Database - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Getting Data From A Database Actors in Sakila database

#1 User is offline   Luke Wenke 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 01-January 13

Posted 05 January 2013 - 05:45 AM

Hi there are two actors called Susan Davis. In the AR action you can see them as number 181 and 182 giving a total of 200 actors. In the queryBuilder and sql actions both actors are combined because of the renderRows function and there is a total of 199 actors. Also my execution times were about 1.4 seconds vs 2 seconds. (queryBuilder/sql vs AR) In the cookbook there is a difference of 3x.
0

#2 User is offline   ishvi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 22-February 14

Posted 22 February 2014 - 03:05 AM

Hi
plz help me

How to get data from database in a table?
0

#3 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,873
  • Joined: 17-January 09
  • Location:Russia

Posted 22 February 2014 - 05:21 AM

ishvi
Is it somehow connected to the book? If not please use general discussion for 1.x forum.
Yii 2.0 Development Cookbook, Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.

Support me so I work on Yii fulltime: https://www.patreon.com/samdark
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users