php - How to get value by value of an array -
i got problem, got array sql query , want associate each value of array index value.
array(16) { ["nocommande"]=> string(5) "49083" ["datecommande"]=> string(19) "2007-02-21 18:24:04" ...
so here want each value 1 per one. array[i]
doesn't work bit in trouble.
thanks support.
you can iterate below:-
foreach($your_array $key=>$value){ echo $key.'-'.$value; echo "<br/>";//for new line show in manner }
it output :- nocommande - 49083 , etc.
Comments
Post a Comment