On 10/11/06, Andy Hultgren <[EMAIL PROTECTED]> wrote:
  <?php
function add_some_extra(&$string)
{
   $string .= 'and something extra.';
}
$str = 'This is a string, ';
add_some_extra($str);
echo $str;    // outputs 'This is a string, and something extra.'
?>
I think that does what you want?

In the add_some_extra example you gave he wants the named value of the
passed parameter which is $str.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to