I have a stored procedure that returns the name of the provinces, passing the id of the country, province id. I get an array after making a call. print_r ($ a)
Array ( [0] => Array ( [id_loc] => 101 [descrip] => BA ) )
I want to get the value 'BA' to show in a form,
I do a echo $a[$localidad];
but I get a vacuum or 'Array'
P.D: $localidad = '101';
What am I doing wrong? Thank you very much, best regards.