So I\'m trying to create a function that generates a SQL query string based on a multi dimensional array.
I just reformatted the default layout of my CakePHP application.I eliminated as much in-line html as possible by putting almost everything inside the html helper methods.
I\'m trying to implode an array of both its keys and values. I can easily get the keys with the implode, but find I have to repeat myself for the keys.
Update 4-June-2010: This appears to be a bug in MODx v 1.0.3, nothing to do with the implode function but rather a problem with mis-matched datatypes in the resulting filter clause. Bug has been filed
I am trying to find out if there is a more optimal way for creating a list of an object\'s sub object\'s properties. (Apologies for the crude wording, I am not really much of an OO expert)
I\'m trying to convert a two-dimensional array to a string in order to store it in the localStorage array. However, there is something wrong with this code I cannot identify: