phpbar.de logo

Mailinglisten-Archive

[php] Variablennamen auswerten

[php] Variablennamen auswerten

Alexander Wagner php_(at)_phpcenter.de
Mon, 14 May 2001 12:14:28 +0200


mjorda_(at)_berlitz.de wrote:
> for( i=1; i<10; i++)
> {
> 	if( $var(i) ) funktion1($var(i));
> }

foreach ($HTTP_POST_VARS as $varname => $varvalue)
{
    funktion1($varvalue);
}

Gesundheit
Wagner

-- 
"Some guy hit my fender, and I told him, 'Be fruitful and multiply,' 
but not in those words."
 - Woody Allen


php::bar PHP Wiki   -   Listenarchive