Bonsoir,
Voici les valeurs de mes variables:
Voici ma condition:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 $TableInformation[0]: 1982.10 - Tableaux D'Une Exposition _ 001.03(H).jpg $Variables[2]: 1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg
Voici les echo:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 $i = 0; do { $i = ($i + 1); $TableInformation = explode("|",$Table_Information[$i]); echo "Variables[2] = _". $Variables[2] ."<br>"; echo "TableInformation[0] = -". $TableInformation[0] ."<br><br>"; if ($TableInformation[0] > $Variables[2]) { break; } } while ($i < ($n-1));
Impossible de sortir de la boucle quand $TableInformation[0] est plus grans que $Variables[2]
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 Variables[2] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg TableInformation[0] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg Variables[2] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg TableInformation[0] = _ 1982.10 - Tableaux D'Une Exposition _ 001.02(V).jpg Variables[2] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg TableInformation[0] = _ 1982.10 - Tableaux D'Une Exposition _ 001.03(H).jpg Variables[2] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg TableInformation[0] = _ 1982.10 - Tableaux D'Une Exposition _ 001.04(V).jpg Variables[2] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg TableInformation[0] = _ 1982.10 - Tableaux D'Une Exposition _ 001.05(H).jpg Variables[2] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg TableInformation[0] = _ 1982.10 - Tableaux D'Une Exposition _ 001.06(V).jpg Variables[2] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg TableInformation[0] = _ 1982.10 - Tableaux D'Une Exposition _ 001.07(V).jpg Variables[2] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg TableInformation[0] = _ 1982.10 - Tableaux D'Une Exposition _ 001.08(V).jpg Variables[2] = _1982.10 - Tableaux D'Une Exposition _ 001.01(V).jpg TableInformation[0] = _ 1982.10 - Tableaux D'Une Exposition _ 001.09(V).jpg
Merci pour votre aide.





Répondre avec citation



Partager