View Full Version : How to delete array element

11-22-2011, 07:29 AM

Hi,In my site http://www.gigxon.com I want The delete key is an array,example,i not want to see [0] => 1 [1] => Adidas [2] => hot,How to do? thanks

11-22-2011, 10:54 AM
Is that a JavaScript array? You have written it much more like in a PHP syntax :)

Anyway JavaScript makes a firm separation between Arrays (ordered lists) and Objects (unordered lists). Your list looks a combinations, which is not quite correct.

11-22-2011, 11:46 AM
In any case this is in the wrong forum. So please clarify which programming language this is and we’ll move the thread accordingly.