problem in getting the value from array by using foreach loop sourabh kumar215301-Mar-2011 how we get the value from array by using foreach loop? give the examplephpphp Updated on 01-Mar-2011
Amit Singh
01-Mar-2011in php, we assign the array as
$strName = array( "rajiv", "david", "taylor", "mark" );
and get the value by using the foreach loop as
foreach($name as $strName)
{
echo $name ."</br>;
}