Comment to 'Function to get profile ID of "person"'s profile currently being viewed'
  • so I ended up using jquery to get the id from the url, using file_put_contents() to write to a json file and then $.getJSON() to get the info and writing to correct divs. holy hannah! there HAS to be a better way!