A: 

Fixed:

I was using the global $wpdb outside of the function that was actually using the it, which broke it.

I moved the global line to the top of the function and it worked.

Adam