[php]
y0y022
Messages postés
7
Statut
Membre
-
Ssylvainsab Messages postés 2892 Statut Modérateur -
Ssylvainsab Messages postés 2892 Statut Modérateur -
j'ai créer un script pour uploader des image mais l'affichage de l'image a un probleme:
Parse error: syntax error, unexpected T_STRING
voila la commande que j'utilise pour afficher l'image:
aidez moi s'il vous plait
img src=\""http://trichoko.free.fr/$newFile"\" align=\"center\"
Parse error: syntax error, unexpected T_STRING
voila la commande que j'utilise pour afficher l'image:
aidez moi s'il vous plait
img src=\""http://trichoko.free.fr/$newFile"\" align=\"center\"
Configuration: Windows XP Internet Explorer 6.0
A voir également:
- [php]
- Expert php - Télécharger - Langages
- Easy php - Télécharger - Divers Web & Internet
- Ide php - Télécharger - Web & Internet
- Php?id=1 - <a href="https://forums.commentcamarche.net/forum/php-155">Forum PHP</a>
- \N php ✓ - <a href="https://forums.commentcamarche.net/forum/php-155">Forum PHP</a>
4 réponses
Je suis pas expert php, mais y a pas des " en trop? Ceux qui sont soulignés en gras :
img src=\""http://trichoko.free.fr/$newFile"\" align=\"center\"
moi, j'écrirais plutot ca :
img src=\"http://trichoko.free.fr/$newFile\" align=\"center\"
img src=\""http://trichoko.free.fr/$newFile"\" align=\"center\"
moi, j'écrirais plutot ca :
img src=\"http://trichoko.free.fr/$newFile\" align=\"center\"
Moi je ferais plutôt ca, plus rapide :
echo '<img src="http://trichoko.free.fr/',$newFile,'" style="margin:auto;" />';