Display Array value in php -


  $_request['assignment_site_id']; 

its output is

array (  [47] => 15  ) 

47 become dynamically. changed time time like

  array  (  [34] => 16  ) 

i want 15 or 16.

how can value.

use loop print out value of associative array entry.

foreach ($array $key => &$value){ echo "element $key $value"; } 

this output "element 47 15";

if trying find do, print out value of array entry.


Comments