vendredi 27 avril 2018

I have error Parse error: syntax error, unexpected '{' in C:\xampp\htdoc [duplicate]

This question already has an answer here:

Parse error: syntax error, unexpected '{' in C:\xampp\htdocs\ons.php on line 69

if ($result2 = mysql_query($sql2))

                {
                    while($row2 = mysql_fetch_assoc($result2)) {

if ($row["id"] == $image['id'] ){$vi = 'background: #2b1644;';};

            echo '<div class="col-md-2" style="'.$vi.' ;"> </div>';
             }

                    mysql_free_result($result2);

                }

Aucun commentaire:

Enregistrer un commentaire