Erreur php $end manquant

Résolu
Misstinguette -  
 Misstinguette -
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

estopatte
 
Résolu
0
Misstinguette
 
Résolu...
0