R
R
Roman Volginin2016-08-20 13:55:18
JavaScript
Roman Volginin, 2016-08-20 13:55:18

How to display all arrays where $arr[4] = 'Word'?

Good day Lord! Now it simply displays all the elements of the array, but it is necessary that the element I specified should be checked, if there is a word (let's say an elephant), then we display all the elements of the array in which. there is a match.

foreach ($cvs_values as $cvs_value) {
        echo '<hr/>';
        foreach ($cvs_value as $value){
          echo "<b>$value |</b>";
        }
        echo '<hr/>';
    }

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Novikov, 2016-05-19
@BOOMER_74

Yes, even Bootstrap Carousel . You make indicators not with points, but with triangles and that's it.

M
Maxim Timofeev, 2016-08-20
@AndrewRook

foreach ($cvs_value as $value){
if($value == 'Слово'){
          echo "<b>$value |</b>";
}
        }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question