Help for this page

Select Code to Download


  1. or download this
    $result = "And the answer is $var1 (or $var2 percent)";
    
  2. or download this
    printit( "The answer is %s (or %d percent)" );
    
    ...
    ...set variables...
    $result = sprintf( $format, $var1, $var2 );
    }