I have an array:
$array=array(
"sdf"=>500,
"gsda"=>1000,
"bsdf"=>1500,
"bads"=>2000,
"iurt"=>2500,
"poli"=>3000
);
How can I get the name of the next key? For example if the current array is gsda
, I need bsdf
.
I have an array:
$array=array(
"sdf"=>500,
"gsda"=>1000,
"bsdf"=>1500,
"bads"=>2000,
"iurt"=>2500,
"poli"=>3000
);
How can I get the name of the next key? For example if the current array is gsda
, I need bsdf
.