I have issue with my php configuration file.
There are 2 forms with some fields.
1 is for "member data" and second for "club info"
here are the parts of the code:
1part)
Code: Select all
$fieldName="city"; $customLabel="City"; if ($errorArray[$fieldName]) {$customLabel="$customLabel*<BR><SPAN class=errorLabel>".$errorArray[$fieldName]."<P></SPAN>"; } $formFormatArray['labelOverride']=$customLabel; $tagName=$fieldName."TAG"; $$tagName=$classLink->getFormTag($fieldName, $$dataArrayName, $formFormatArray); if ($errorArray[$fieldName] AND $formFormatArray['cssTagClassError']) {$$tagName=str_replace($formFormatArray['cssTagClass'], $formFormatArray['cssTagClassError'], $$tagName); } $$targetString.=$$tagName;2nd part)
Code: Select all
<tr valign='top' bgcolor='#FFFFFF'> <td width='105' height='26' align='left' class='paragraphbold'><div align='right'>City<font face='Arial, Helvetica, sans-serif' size='1' color='red'><em>*</em></font>{$errorArray["city"]}</div></td> <td height='26'><input name='recordDataArray[city]' value='{$recordDataArray['city']}' type='text' size='55'> </td> </tr>Those codes are in our reg-test.php file
user told me that they want more fields to be displayed on their management web interface,
so I went to another file listmem.php and add
this code that allows to see the Club address:
Code: Select all
$title=""; $fieldString.=" <TD $fieldStyle> <NOBR>{$itemRecArray['street']} {$itemRecArray['city']} {$itemArray['state']} {$itemArray['zip']} $errorFlag</NOBR> </TD> "; $fieldTitleString.=" <TD $fieldTitleStyle> Club Address </TD> "; $fieldCount++; - but this is not working because there is previous form with the same field names in
reg-test.php file and its picking up all the time city from the previous form. - where the member lives and
not the club city.
Any help or suggestions?
thanks