Guide
API
Wiki
Forum
Community
Live Chat
Extensions
Resources
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
What is Yii?
Release Cycle
News
License
Team
Official Logos and Design
Login
🚀
Yii3 is now available!
Yii Framework Wiki
Write
new article
Categories
All
Tips
342
How-tos
445
Tutorials
291
FAQs
45
Others
56
Popular Tags
All
yii2
90
CGridView
69
AJAX
57
Yii
48
tutorial
39
model
31
i18n
30
authentication
28
security
26
database
24
Recent Comments
Due Web Studio
on
How to login from different tables in Yii2
6 hours ago
liam255
on
Aadhar Number Validator
a month ago
Jesus Carrasco
on
Simple way to implement Dynamic Tabular Inputs
a month ago
Ricardo Astudillo
on
Filter & Sort by calculated/related fields in GridView Yii 2.0
6 months ago
cowson
on
Displaying, Sorting and Filtering Model Relations on a GridView
6 months ago
Difference between #
3
and #
4
of
Update two models with one view
Changes
Title
changed
Update two model
s
with one view
Category
unchanged
Tips
Yii version
unchanged
Tags
unchanged
database, model, view, form
Content
unchanged
[...]
$this->render('create', array(
'model' => $model,
));
}
```
9
3
13
followers
Viewed:
59 112 times
Version:
1.1
Category:
Tips
Tags:
database
,
form
,
model
,
view
Written by:
sensorario
Last updated by:
SebK
Created on:
Dec 19, 2011
Last updated:
13 years ago
Update Article
Revert to #3
|
Revert to #4
Revisions
View all history
13 years ago
by
SebK
spelling correction
13 years ago
by
SebK
added tags
14 years ago
by
sensorario
Fixed some code
14 years ago
by
sensorario