variable

Répondre


Cette question est un moyen d’empêcher des soumissions automatisées de formulaires par des robots.
Smileys
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: =D> #-o =P~ :^o :non: :priere: 8-|
Voir plus de smileys
  Revue du sujet
 

  Étendre la vue Revue du sujet : variable

par Hywan » 16 mai 2005, 08:18

bonjour :o)
je te conseil d'aller voir :arrow: http://fr3.php.net/manual/fr/langref.php
ce manual est vraiment intéressant ;)
( http://fr3.php.net/manual/fr/index.php )

sinon pour ton probleme :
.gif apres ta variable
<?php
$lien = $_POST['liendrapeau'].'.gif';
?>
.gif avant ta variable
<?php
$lien = '.gif'.$_POST['liendrapeau'];
?>
Mais je ne vois pas l'utiliter de mettre le .gif devant ta variable "je voudrais ajouter devant ma variable un .gif "

en esperant t'avoir aider :) +

variable

par Karim » 16 mai 2005, 08:09

Bonjour,

Voilà je voudrais ajouter devant ma variable un .gif mais impossible

$lien=$_POST['liendrapeau'];
$liendrapeau="$lien.gif";

merci