I using jquery’s $.post to pull information from a database dynamically. This works fine if I want one item however, I would like to store each column as an array and pass the whole array over. I have the array but am having issues pulling it back to javascript so I can use it.
Since the array will contain text with commas I can’t use implode to create a comma separated string.
Try using json, if you use php’s json_encode on the array on the server side then echo the encoded array jquery will pick it up as a json object.