Erreur php $end manquant

Résolu/Fermé
Misstinguette - 9 avril 2008 à 15:42
 Misstinguette - 9 avril 2008 à 15:56
Coucou,

alors j'ai un problème de balise fermante ou ouvrant ou encre un problème d'accolades : /, je vous montre :

<script language="php">

$result_chap = pg_exec($c,"SELECT titre_chap from chapitre_acte");

$nlignesqu_chap = pg_numrows($result_chap);


print("<select name='liste_c'>");


for ($i=0;$i<$nlignesqu_chap;$i++)

{
list($titre_chap) = pg_fetch_row($result_chap,$i);


print("<option value='1'>$titre_chap");


print("</select>");

</script>

Et l'erreur qu'il affiche est :

Parse error: syntax error, unexpected $end in /iut/src2/schneider/public_html/ACTECIL/modification.php on line 21

j'attends vos suggestion.


amicalement,

La pro du php

2 réponses

Résolu
0
Misstinguette
9 avril 2008 à 15:56
Résolu...
0