- // Prepare country selection box
- $OUT = "<select name=\"country_code\" class=\"guest_select\" size=\"1\">\n";
- $whereStatement = "WHERE `is_active`='Y'";
- if (isAdmin()) $whereStatement = '';
- $OUT .= generateOptionList('countries', 'id', 'descr', postRequestParameter('country_code'), 'code', $whereStatement);
- $OUT .= "</select>";
- $content['country'] = $OUT;
+ // Other values
+ foreach (array('gender', 'surname', 'family', 'street_nr', 'city', 'email') as $entry) {
+ $content[$entry] = SQL_ESCAPE(postRequestElement($entry));
+ } // END - foreach