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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -