Bonjourà tous
j'ai un flux xml dans array et j'aimerais savoire comment faire apparaître :
A
tous les noms commencant par A
B
Tous les noms commencant par B etc ...
voci mon code :
alors comment faire ?
Code php : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 <?php for ($j=0; $j<=$perfCount; $j++) { // asort($screenRay); asort($screenRay); } foreach ($screenRay as $key) { $string = $key; if ($string[0] != $string[0]) { echo '<br/>'.$string[0].'<br/>'; } echo $key; } ?>
Partager