Insert database into two tables

Hi All,

I have problem with inserting new record into the database.

I have a form has 4 fields, and two fields will be inserted into tableA,
and other fields will be inserts into tableB.

These two tables has relationship tableA(One) and tableB (Many) …so
how could I do that?

Socheat Yi
Web Programmer/Software Developer
Screened Images Multimedia (SIM)
*If You Can Imagine It…We Can Create It.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs