...

View Full Version : How to delete array element



564359954
11-22-2011, 07:29 AM
array
(
[0]=>array
(
[0]=>1
[id]=>1
[1]=>adidas
[name]=>adidas
[2]=>hot
[recomment]=>hot
[3]=>a
[initial]=>4
[4]=>apple.png
[pic]=>apple.png
[5]=>head.png
[pic2]=>head.png
)
[1]=>array

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

Kor
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.

VIPStephan
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum