* Thus wrote René Fournier ([EMAIL PROTECTED]):

>       echo 'file name: '.$$fld_name.'<br>';
> 
> What I want to do is echo the value of $img_photo_name. But how can I
> refer to it?

The straight forward method would be:

  $fld_name = $$fld . "_name";
        echo 'file name: '.$$fld_name.'<br>';

Or trickier:
 
        echo 'file name: '.${$$fld . '_name'};



Curt
-- 
"My PHP key is worn out"

  PHP List stats since 1997: 
    http://zirzow.dyndns.org/html/mlists/

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

Reply via email to