hello all
i have following $_POST array

array(5) {
  ["addcatagory"]=>
  string(8) "CATEGORY"
  ["reg_admin_id"]=>
  string(2) "25"
  ["subcatagory"]=>
  array(2) {
    [0]=>
    string(9) "SUB CAT 1"
    [1]=>
    string(9) "sub cat 2"
  }
  ["subCat_Detais"]=>
  array(2) {
    [0]=>
    string(9) "AAAAAAAAA"
    [1]=>
    string(8) "BBBBBBBB"
  }
  ["submit"]=>
  string(15) "Submit Catagory"
}

now what i want to achieve is combine 0 index of subcatagory and subcat_details in one array and of 1 index in second array and so on this no of index depends on user according to how many sub category he fills

PLZ HELP me in this......... :(

can anyone help with this.??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.