both the guys above are right, so seeing as they told you both ways to address the variables as you were asking, I'll give you a sample for using an array, just in case you aren't familiar:
$entries = array();
$entries[1] = 'value1';
$entries[2] = 'value2';
// etc...
// alternately:
$entries = array( 1=> 'value1', 2 => 'value2', etc... );
// or cleaner yet:
$entries = array( 'value1', 'value2', etc... ); // although this starts at $entries[0];
for ( $var i = 1; $i < $max; $i++ ) // whatever $max is...
{
echo $entries[$i];
}
// alternately:
foreach ( $entries as $pos => $value )
{
echo "entry $pos = $value\n";
}
// or some variation thereof