listing the values in an array

From: Date: Wed, 31 May 2000 14:20:18 +0000
Subject: listing the values in an array
Groups: php.general 
Request: Send a blank email to php-general+get-719@lists.php.net to get a copy of this message
I have an array[1-6] that contains some values, let's say numbers from 1-6 for example. name[1] = value[1]; name[2] = value[2]; .... How do print out these values? This code prints only " : " out. for ($i = 1; $i <= 6; $i++) { echo $name[i] . ' : ' . $column_value[i] . "<BR>"; } I know that something like that was here on the list already, but my search function in Netscape doesn't work. Tnx for your answers and have a nice day!

« previous php.general (#719) next »