I want to store all value in a array and get out from the loop is it possible?
<?php
$a=array('a', 'b', 'c');
foreach($a as $b)
{
for($i=0; $i<count($a); $i++)
{
$c = array();
$c[$i] = $b;
}
print_r($c);
}
?>