Parse error: syntax error, unexpected T_ECHO
iymohammed
-
iymohammed Messages postés 6 Date d'inscription Statut Membre Dernière intervention -
iymohammed Messages postés 6 Date d'inscription Statut Membre Dernière intervention -
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
- Fan error lenovo - Forum Refroidissement
- Eespt technical error - Forum Box et Streaming vidéo
- Pour ceux qui ont "LENOVO fan error au démarrage" - Forum PC portable
- Cmos checksum error ✓ - Forum Carte-mère/mémoire
- A javascript error occurred in the main process - Forum Matériel & Système
1 réponse
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>
ça fonctionne à merveille
bonne journée et merci encore