why my image and first name disappears in this code?
- by udaya
Hi
This is my foreach function
<? foreach($Selected as $row)
     $value = $row['dPath'];
     $imgp =  base_url()."images"."/".$value;
{?>
<td>
  <?=$row['dFrindName'].'</br>';?>
  <?php */?> <img src="<?=$imgp ?>" name="b1" width="90" height="80" border="0"/>
</td>
<? }}?>
Print_r($Selected);
results in `Array ( [0] => Array ( [dFrindName] => chandruCP 
                    [dPath] => m11on.gif ) [1] => Array ( [dFrindName] => udaya 
                    [dPath] => logo.jpg ) )`
but only my last value of the array is displayed on image
I can get the name udaya and   logo.jpg  on the screen
 But i cant get chandruCP and m11on.gif
why it is so how can i get all the values and image on scrren