Welcome Guest, Not a member yet? Register   Sign In
Having trouble imploding an array.
#4

[eluser]jedd[/eluser]
[quote author="Samuurai" date="1258070952"]
I want to be able to access the ['date'] value from the arrays contained in the array.
[/quote]

I'd probably do a loop through the array first to generate a key-less 1D array and then implode that. Other more array-knowledgeable types may well know a much better / elegant approach. It seems a fairly trivial bit of code, so I wouldn't be terribly hung up about the performance here.

Quote:BTW, what tags did you use to get the non-code boxes?

Quotes. If you quote-reply to a message, you can see all the tags that were used.


Messages In This Thread
Having trouble imploding an array. - by El Forum - 11-12-2009, 11:48 AM
Having trouble imploding an array. - by El Forum - 11-12-2009, 12:01 PM
Having trouble imploding an array. - by El Forum - 11-12-2009, 12:09 PM
Having trouble imploding an array. - by El Forum - 11-12-2009, 12:19 PM
Having trouble imploding an array. - by El Forum - 11-12-2009, 12:37 PM
Having trouble imploding an array. - by El Forum - 11-12-2009, 01:46 PM
Having trouble imploding an array. - by El Forum - 11-12-2009, 02:58 PM
Having trouble imploding an array. - by El Forum - 11-13-2009, 03:36 AM
Having trouble imploding an array. - by El Forum - 11-13-2009, 04:17 AM
Having trouble imploding an array. - by El Forum - 11-13-2009, 04:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB