hi, i have the following array:
$img[3]["src"]    = "img1";
$img[6]["src"]    = "img2";
$img[9]["src"]    = "img3";

and I would like to change the array index adding one to their values,but only on the 
two last arrays, so that
I have:

$img[3]["src"]    = "img1";
$img[7]["src"]    = "img2";
$img[10]["src"]    = "img3";

the problem using the php functions like array_splice to add a new array, is that the 
keys are reindexed.
thx in advance

Reply via email to