je suis en train de débuter en php et j'ai petit problème d'algo, j'ai un problème à la ligne 15. Pourriez vous m'aider svp?
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
 <html>
<head>
<title>Tarif</title>
</head>
<body>
<center><h3>Horaires du parking</h3></center>
 
<center><table border="2"><th> Duree </th><th> Tarifs </th>
<?php
$d3=$_POST["d1"];
$d4=$_POST["d2"];
$i=$d3;
    for($i;$i==$d4;$i=$i+1){
        $var=1+(2*$i)
        echo "<tr><td>$i</td><td>$var</td></tr>";
    }
?>
</table></center>
</body>
 
</html>
voila mon message d'erreur
Parse error: parse error in c:\program files\easyphp1-8\www\exemples\tarif.php on line 15
merci