hi

I am having a multidimensional array in $a.

i get this result after using print_f

PHP Code:
Array (
 [
0] => Array ( [sno] => [num1] => 45 [num2] => 45 [result] => 2025 )
 [
1] => Array ( [sno] => 17 [num1] => 34 [num2] => 36 [result] => 1224 )
 [
2] => Array ( [sno] => [num1] => 78 [num2] => [result] => 390 )

using foreach and converting into individual arrays
PHP Code:
foreach($a as $key => $value)
    {
        
print_r($key $value); echo "<br/>";
         }

and 
the result is

Array ( [sno] => [num1] => 45 [num2] => 45 [result] => 2025 )
Array ( [
sno] => 17 [num1] => 34 [num2] => 36 [result] => 1224 )
Array ( [
sno] => [num1] => 78 [num2] => [result] => 390 
now i want to remove num1 and num2 elements from each array..

so that the resulting array contains 2 elements sno and result

i tried unset() but not getting result. any help