How to print array values in php using mysql – associative array
Associative array is array that use named keys that you assign to them. example <?php $var2 = array(‘raj’=’123′,’sekar’=>’213′,’developer’=>’545′,’desks’=>’345’); echo $var2[‘raj’]; // output is 123 echo $var2[‘sekar’]; // output is 213 echo $var2[‘developer’]; // output is 545 echo $var2[‘desks’]; // output is 345 ?> named key ‘raj’ has vlaue ‘123’; IF the named key is unknown…