Re: $array_nam[$variable][0]

From: Date: Wed, 19 Mar 2003 20:43:37 +0000
Subject: Re: $array_nam[$variable][0]
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140338@lists.php.net to get a copy of this message
Exactly the syntax you used. Michael Smith wrote:
Hi, I'm trying to do a: $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? -Michael
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#140338) next »