hey guys,.how to get all word in first index in array below and index 2 futhermore get last word,..

 $arr = array(
 array(
 '3'=>'repsol kawasaki honda ktm',
 '4'=>'kawasaki honda ktm bmw',
 '5'=>'honda ktm bmw ducati',
 '6'=>'ktm bmw ducati yamaha') ,
 array(
 '13'=>'sdad dasda sdadad dasdads',
 '14'=>'dasda dasdad sdasdas asdas',
 '15'=>'dasd adasd asdasd sada',
 '16'=>'dasd asdasd asdaads asdas'), 
 );



hope yield:
 Array

 (
     [0] => Array
         (
             [0] => repsol kawasaki honda ktm
             [1] =>  bmw
             [2] =>  ducati
             [3] =>  yamaha
         )

     [1] => Array
         (
             [13] => sdad dasda sdadad dasdads
             [14] =>  asdas
             [15] =>  sada
             [16] =>  asdas

         )

 )
> help me guys :(
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.