bonjour ,
je vouais utiliser cette fonction mais en l'adaptant a mon code cela ne marche pas elle ne fait rien voici l appell normal:
// <img alt="" <?php fctaffichimage('repimg/monimage.jpg', 120, 100) ?> />

et voici mon code a moi:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
	if  ($pro['logo_pro']!="")
 
			{
				$content.='<img alt="" fctaffichimage('"../moncompteprofessionelle/logo/".($pro['logo_pro']).""', 120, 100) />';
			}
			else
			{
				$content.='<img src="images/promo.png" style="border:0px;width:100px;height:100px;margin-right:80px;">';
			}
une idée.
voici mon erreur
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/idealeparuti2/www/promotions/index.php on line 138
Merci.