hello... can't seem to figure out what is wrong here
if i do this it works fine
// $lines is an array
$content = $lines[1];
echo $content;
if i do this it also works
// $lines is an array
$var = 1;
$content = $lines[$var];
echo $content;
but if i do this.. it doesn't work
$var = count($lines);
$content = $lines[$var];
echo $content;
can anyone help me out here pls....