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>
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>