Try this:
foreach($samplearr as $key => $item){ print "<tr><td>" . $key . "</td><td>" . $item['value1'] . "</td><td>" . $item['value2'] . "</td></tr>"; }
1.4m articles
1.4m replys
5 comments
57.0k users