Posted by Bob Bedford on 03/08/06 18:58
<goling@gmail.com> a ιcrit dans le message de news:
1141828588.243461.228560@z34g2000cwc.googlegroups.com...
Well the siplest way ( I think ) would be to include the shifting
process into the delete function. So when you delete image 2 then you
will run through a loop that runs from 3-5 and shift them all so the
result will be 2-4. BUt since I dod not quite know how your code is (
if you allow more than 1 deletation at a time ) I can not quite tell
you the solution, since if you are deleting2 files at a time you have
to run the proccess 2 times ( or something like that ).
Hope this answares some of your questions ( although it raised some
more in my mind, :p ), and hope I undestood your question. :)
Thanks for your answer...
It's finally done, with less than 10 lines of php code...
[Back to original message]
|