Re: listing the values in an array

From: Date: Wed, 31 May 2000 14:21:29 +0000
Subject: Re: listing the values in an array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-720@lists.php.net to get a copy of this message
> How do print out these values? This code prints only " : " out. > > for ($i = 1; $i <= 6; $i++) { > echo $name[i] . ' : ' . $column_value[i] . "<BR>"; > } You're missing "$" symbols inside the [brackets] in the echo statement. You'll find you'll do that quite often over time :-)

« previous php.general (#720) next »