0

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 :(

Edited by pritaeas: Moved.

2
Contributors
1
Reply
4
Views
5 Years
Discussion Span
Last Post by LastMitch
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.