Re: [PHP] Deleting array fields...

2003-07-22 Thread Jason Giangrande
Thanks Curt. Your suggestion works great. I had come up with this to clear the array, which also worked for me in this instance, by doing this $array['item'] = ""; But I think your suggestion is better because one I have used the array fields once I have no further use for them so I might as we

Re: [PHP] Deleting array fields...

2003-07-22 Thread Curt Zirzow
* Thus wrote Jason Giangrande ([EMAIL PROTECTED]): > Is there a way to delete array fields without resort the keys? The keys > of this particular array are the position of the words it holds to their > position in a string and if they are changed it screws everything up. I > tried using array_spl

[PHP] Deleting array fields...

2003-07-22 Thread Jason Giangrande
Is there a way to delete array fields without resort the keys? The keys of this particular array are the position of the words it holds to their position in a string and if they are changed it screws everything up. I tried using array_splice but that, unfortunately, rearranges the keys. So, to r