SyntaxFix
Write A Post
Hire A Developer
Questions
The ideal solution would be as below. You won't miss the values from 0 to n.
$len=count($data); for($i=0;$i<$len;$i++) echo $data[$i]. "<br>";