Re: $array_nam[$variable][0]

From: Date: Wed, 19 Mar 2003 20:34:54 +0000
Subject: Re: $array_nam[$variable][0]
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140336@lists.php.net to get a copy of this message
> $var = $array_name[$var2][0]; > > where $var2 is an integer. I've got this array from a database and I > want to use a variable in the array... what's the exact syntax of this? That is the correct syntax. Use print_r() on $array_name to see what it contains. ---John Holmes...

« previous php.general (#140336) next »