I would like to know how can we print an array in php with the help of loops. If we have large data and we want to store that data using array then the manual procedure takes much time and may also increase the complexity of code. So, please let me know about that...
Thanks
You can check below code for array displaying.
$array_name=array('a','b','c','d');
print_r($array_name);
for($i=0;$i<count($array_name);$i++)
echo '<li>'.$array_name[$i];