nargy  | > $resultat est une chaîne?
 - oui, exemple:
 fichier fonction.php, avec en argument a et b:
  Code :
 - <?
 -   header ("Content-type: text/plain" );
 -   $a=$_GET['a'];
 -   $b=$_GET['b'];
 -   echo $a*$b; // multiplier a par b
 - ?>
 
  |  
 
 ...ou non, exemple avec une image:
 fichier fonction.php, avec en argument ``texte``:
  Code :
 - <?
 -   header ("Content-type: image/jpeg" );
 -   $texte=$_GET['texte'];
 -   $im = @imagecreatetruecolor (50, 100);
 -   $couleur = imagecolorallocate ($im, 233, 14, 91);
 -   imagestring ($im, 1, 5, 5,  $texte, $couleur);
 -   imagejpeg($im);
 -   imagedestroy ($im);
 - ?>
 
  |  
 
     |