I'm having an issue thinking today and ran into a brick wall.
What I'm trying to do it take 3 different custom field data for posts and combine them into an array that I can then json encode for use in some jquery.
The three fields I want to use are the 'project title' and a custom field of 'latitude' and 'longitude'. And this is what I'm looking to get:
Array ( => array ( => "project title",  => "latitude",  => "longitude"), => array ( => "post title",  => "latitude",  => "longitude")
I'm thinking i need a foreach loop, but just can't get it to work in my head. Any help would be greatly appreciated!