Demos
·
Guide
·
Class Reference
·
Wiki
·
Extensions
·
Forum
·
Live Chat
·
Login
About
About Yii
Features
Performance
License
Contact Us
Downloads
Framework
Extensions
Demos
Logo
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Development
Contribute to Yii
Latest Updates
Report a Bug
Report a Security Issue
Community
Forum
Live Chat
News
Hall of Fame
Badges
search
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Wiki
Follow @yiiframework
Articles tagged with "database", sorted by date (updated)
X
189
193
78
Displaying 11-13 of 13 result(s).
Getting nulls from database instead of empty strings
Updated about a year ago by
samdark
–
Tips
–
2 comments
– viewed 6,634 times – (
+12
)
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags:
database
,
null
A simple class to use a different db for a module
Updated about a year ago by
Maurizio Domba
–
Tips
–
2 comments
– viewed 8,464 times – (
+8
)
What would you do if you want/need to have a different than the main database connection in an module's models?
tags:
module
,
database
,
active record
,
tips
Multiple Databases and Multiple Domains
Updated 2 years ago by
Maurizio Domba
–
Tutorials
–
2 comments
– viewed 20,664 times – (
+12
/
-2
)
Add these lines in /config/main.php
tags:
database
<< First
< Previous
1
2
Next >
Last >>
Write new article
Search Wiki
Sorted by date
Sorted by date (updated)
Sorted by rating
Sorted by comments
Sorted by views
All categories
Tips
(105)
How-tos
(187)
Tutorials
(177)
FAQs
(7)
Others
(14)
Popular Tags
AJAX
(26)
Authentication
(18)
CGridView
(40)
File upload
(10)
Forms
(8)
Logging
(9)
URL
(9)
Widgets
(11)
active record
(10)
config
(12)
database
(13)
filter
(10)
i18n
(15)
rbac
(8)
search
(9)
security
(18)
tutorial
(22)
understanding
(11)
views
(10)
yii
(24)
Recent comments
gobinath
on
CButtonColumn: Use special variable $data for the...
nhexia
on
Yii for beginners
rackycz
on
Yii for beginners
Joemaxwell
on
Yii for beginners
alek
on
Installing Yii Users and Rights to Newly Created...