I downloaded DT Register on 6/14/08.
From the Registration Records feature, it looked like a the address was written to the state field for a group registration. I double checked this by looking at the SQL table.
I looked through the code for the main component and in 3-4 places I found....
if($m_s_address)
{
$arrMemberFields[]=\'address\';
$arrMemberValues[]=$arrAddress[$i];
}
if($m_s_city)
{
$arrMemberFields[]=\'city\';
$arrMemberValues[]=$arrAddress[$i];
}
I corrected the last line to read
$arrMemberValues[]=$arrCity[$i];
uploaded and now that problem is fixed.
Question - I have experience with a number of programming languages, but none with PHP. (Until yesterday, my experience was limited to writing about 3 lines!) In the main component, I am seeing many lines of code repeated rather than contained in functions. Is this normal for PHP?
Julie