hey guys, how to make bold values array building key array below to data1 and data2?

if each index [0] => Array
                     (
                         [0] => 0
                         [1] => 2
                     )
 bold array data1
 if each index [1] => Array
                     (
                         [0] => 1
                         [1] => 4
                     )
 bold array data2 

Array
    (
        [0] => Array
            (
                [0] => Array
                    (
                        [0] => 0
                        [1] => 2
                    )

                [1] => Array
                    (
                        [0] => 1
                        [1] => 4
                    )

            )

        [1] => Array
            (
                [0] => Array
                    (
                        [0] => 4
                        [1] => 7
                    )

                [1] => Array
                    (
                        [0] => 6
                        [1] => 9
                    )

            )
    )




  $data1 = array(
          '0'=>'<b>chelsea<b/>',
          '1'=>'manutd',
          '2'=>'<b>arsenal<b/>',
          '3'=>'newcastle',
          '4'=>'<b>napoli<b/>',
          '5'=>'roma',
          '6'=>'udinese',
          '7'=>'<b>getafe<b/>',
          '8'=>'betis',
          '9'=>'valencia',
          '10'=>'manutd',
          );
  $data2 = array(
          '0'=>'liverpool',
          '1'=>'<b>braga<b/>',
          '2'=>'arsenal',
          '3'=>'newcastle',
          '4'=>'<b>porto<b/>',
          '5'=>'roma',
          '6'=>'<b>udinese<b/>',
          '7'=>'getafe',
          '8'=>'betis',
          '9'=>'<b>valencia<b/>',
          '10'=>'west ham',
          );

Recommended Answers

All 2 Replies

I don't think anyone has replied to your post, because it isn't clear exactly what you're trying to do.

Perhaps you could try to explain it a little more clearly?

Member Avatar for LastMitch

@blocblue

Perhaps you could try to explain it a little more clearly?

Regarding Rere_1 he doesn't post any code beside arrays.

If you look at his post from his past it's all arrays. Not much explanations. cereal end up answering most of his questions.

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.