cookn22
Active Member
Quick question: I'm doing post-processing of a form, simple eval. The table the form is for has a joined child table. I want to be able to mess with the child's data in the post-processing, too.
I know that the syntax for messing with the parent data is like this:
I figured that the way to do the same for the joined table after the form is submitted would be something like:
But, this code doesn't do anything! I'm assuming that I'm just not using the right keyname for the joined table, or $aData is set up differently than I thought. I'm not sure how to do a print_r($aData) and see the printed results...I thought that $aData had the same structure as $this->_data, but I guess I'm wrong?
I know that the syntax for messing with the parent data is like this:
Code:
$aData['tablename___elementname'] = $whatever;
I figured that the way to do the same for the joined table after the form is submitted would be something like:
Code:
$aData['join[1]tablename___elementname'] = $whatever;
But, this code doesn't do anything! I'm assuming that I'm just not using the right keyname for the joined table, or $aData is set up differently than I thought. I'm not sure how to do a print_r($aData) and see the printed results...I thought that $aData had the same structure as $this->_data, but I guess I'm wrong?