Hi all
I'm having a bit of trouble loading data from my mysql database into a multidimensional javascript array. The array looks like this:
var pics = new Array (
new Array(1,"pics/one.gif"),
new Array(2,"pics/two.gif"),
new Array(3,"pics/three.gif"),
new Array(4,"pics/four.gif"),
new Array(5,"pics/five.gif")
);
and works fine with the static data.
The table is called content_attachments and the columns are ID and Image so should look like: new Array($ID,"$Image"),
Any help would be appreciated