Faire un echo dans une table
Bonjour,
Je voudrais savoir comment ecrire un echo pour une fonction dans une table. J'ai essaye comme cela mais ca n'affiche rien
Code:
1 2 3 4
| echo '<table>
<tr>
<td colspan="3"><a href="'.$result["web"].'" target="_blank"><?php echo resume_xmots($siteweb,20);?></a></td></tr>
</table>'; |
et si je fais
Code:
1 2 3 4
| echo '<table>
<tr>
<td colspan="3"><a href="'.$result["web"].'" target="_blank"> echo resume_xmots($siteweb,20);</a></td></tr>
</table>'; |
ca ecrit
Code:
echo resume_xmots($siteweb,20);
Quelle est la bonne syntaxe?
Merci