Parse error: syntax error, unexpected T_ECHO
Fermé
iymohammed
-
20 mars 2011 à 14:11
iymohammed Messages postés 6 Date d'inscription dimanche 13 octobre 2002 Statut Membre Dernière intervention 15 novembre 2019 - 20 mars 2011 à 15:03
iymohammed Messages postés 6 Date d'inscription dimanche 13 octobre 2002 Statut Membre Dernière intervention 15 novembre 2019 - 20 mars 2011 à 15:03
Bonjour,
pouvez vous me corriger ce code:
<td><?php echo $row_rsPages['pg_link']; ?></td>
<td><?php echo $row_rsPages['nav_name']; ?></td>
<td><?php if(in_array($row_rsPages['pg_id'],$restrict)) (echo' ';) else(?><a href="pages_remove_confirm.php?id=<?php echo $row_rsPages['pg_id']; ?>">Remove</a><?php )?></td>
pouvez vous me corriger ce code:
<td><?php echo $row_rsPages['pg_link']; ?></td>
<td><?php echo $row_rsPages['nav_name']; ?></td>
<td><?php if(in_array($row_rsPages['pg_id'],$restrict)) (echo' ';) else(?><a href="pages_remove_confirm.php?id=<?php echo $row_rsPages['pg_id']; ?>">Remove</a><?php )?></td>
A voir également:
- Parse error: syntax error, unexpected T_ECHO
- Cmos checksum error ✓ - Forum Carte-mère/mémoire
- Fan error lenovo - Forum Refroidissement
- Error 10 pioneer ✓ - Forum Autoradio
- Playback error reconnect in 3s (1/5) francais - Forum Box et Streaming vidéo
- Whea error occt - Forum Processeur
1 réponse
dariumis
Messages postés
571
Date d'inscription
mardi 16 mars 2010
Statut
Membre
Dernière intervention
18 avril 2018
63
Modifié par dariumis le 20/03/2011 à 14:51
Modifié par dariumis le 20/03/2011 à 14:51
Salut, peut etre comme ça:
<td><?php echo $row_rsPages['pg_link']; ?></td> <td><?php echo $row_rsPages['nav_name']; ?></td> <td><?php if(in_array($row_rsPages['pg_id'],$restrict)) echo ''; else{ ?> <a href="pages_remove_confirm.php? id=<?php echo $row_rsPages['pg_id']; ?>"> Remove </a> <?php } ?> </td>
20 mars 2011 à 15:03
ça fonctionne à merveille
bonne journée et merci encore