For Example, I am having 5 variables (field values),\[code\]$companyname$firstname,$lastname,$address1,$address2\[/code\]so, as per requirement, there are 2 groups over here.\[code\]$group1 = array('firstname','lastname','address1');$group2 = array('companyname','address2');\[/code\]Either Group1 Variables are required or Group2 Variables are Required.i.e. \[code\]Either $firstname AND $lastname AND $address1 Can Not Be Blank OR$companyname AND $address2 Can Not Be Blank.\[/code\]Goal is :this function :$alt_req_arrays($arr1,$arr2);should return true or false.Question is :I Want to Write this Function with minimum Code (using array functions or something like that ...)