Current Edition

fetchAssoc()) { $a1 = $row['field_current_edition_month_value']; } // while $a2 = split ("\-", $a1); $a3 = $a2[0]; //year $a4 = $a2[1]; //month $a5 = (int)$a4; //removed first 0 from month drupal_goto('current-edition-jaast-view',array('query' => array('field_select_month_value[value][month]' => $a5, 'field_select_month_value[value][year]' => $a3))); }// if } //if jaast if ($typ == "nvision") { $query = 'SELECT * FROM {field_data_field_current_edition_month_nv} '; $result = db_query($query); if ($result) { while ($row = $result->fetchAssoc()) { $a1 = $row['field_current_edition_month_nv_value']; } // while $a2 = split ("\-", $a1); $a3 = $a2[0]; //year $a4 = $a2[1]; //month $a5 = (int)$a4; //removed first 0 from month drupal_goto('current-edition-new-vision-view',array('query' => array('field_month_value[value][month]' => $a5, 'field_month_value[value][year]' => $a3))); } //if result } //if nvision ?>