Create your form like you normally would, most likely using Zend_Form.   Then 
when the data is posted back to your script, instead of writing it to only one 
table, write only the data you want to be in the first table into it, and the 
remaining data into the other one.

----
Jeremy Brown
Senior Web Developer
Spear One
972.661.6038
www.spearone.com


-----Original Message-----
From: andersl [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2008 2:35 PM
To: fw-general@lists.zend.com
Subject: [fw-general] Inserting data into 2 tables in 1 form


Hi!

I have 2 tables - one containing basic info and one containing additional
info. Id like to create 1 page where I can insert data into both tables at
once. How can I do this?!

Regards Anders
--
View this message in context: 
http://www.nabble.com/Inserting-data-into-2-tables-in-1-form-tp19207622p19207622.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to