AnsweredAssumed Answered

Submit Data to Other Tables via PHP

Question asked by commuterkid on Feb 2, 2009
Latest reply on Feb 3, 2009 by commuterkid

Title

Submit Data to Other Tables via PHP

Post

Hello.  I have one main table named "Contacts" and another small table named "ZipCodes."  The relationship is 1-to-many and the Zip field is the only one connecting to the Contacts table.  After publishing thru PHP Site Assistant, I have submitted a new record, but all I get is an "Error 510 - Related or empty value is zero." I get this when I enter in information into the City, State, and Country fields (which are in the ZipCodes table).  

 

When I don't enter in any City, State, or Country, the record submits fine.  How do I get these fields to talk with the Contacts table?

 

Thanks!

Outcomes