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 2 years ago by
samdark
–
Tips
–
2 comments
– viewed 6,824 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 2 years ago by
Maurizio Domba
–
Tips
–
2 comments
– viewed 8,818 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 21,336 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
(113)
How-tos
(197)
Tutorials
(179)
FAQs
(7)
Others
(14)
Popular Tags
AJAX
(27)
Authentication
(19)
CGridView
(42)
File upload
(10)
Forms
(8)
Logging
(9)
URL
(10)
Widgets
(12)
active record
(12)
config
(12)
database
(13)
filter
(10)
i18n
(17)
search
(9)
security
(19)
tutorial
(22)
understanding
(11)
user
(9)
views
(11)
yii
(25)
Recent comments
jiihoo
on
Custom Number Formatting or Decimal Separators...
Johnny Gan
on
Styling Radio Buttons
M0ka
on
URL management for Websites with secure and...
Kashif Nadeem
on
Implementing a User Level Access System
BlkRaven
on
CKEditor Integration (includes steps for file...