Yii Framework Forum: FORM CREATE - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

FORM CREATE Rate Topic: -----

#1 User is offline   kitty10 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 139
  • Joined: 13-April 10

Posted 04 June 2010 - 06:17 AM

Can i create a form with 2 model???
I have need to insert in a form a textfield of 2 different model...
...the problem is when i insert data in my db..can i have problem????
Can you help me??????
-2

#2 User is offline   PoL 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 506
  • Joined: 05-November 08
  • Location:Buenos Aires, Argentina

Posted 04 June 2010 - 07:08 AM

From the cookbook: How to use a single form to collect data for two or more models?
Don't say what you think, think what you say
The problem is communication! Excess of communication!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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