Site icon Hip-Hop Website Design and Development

Database SQL query error

I am trying to run below query.

$sql = "SELECT * FROM `wp_podsrel` WHERE `related_item_id` =$user->ID AND `pod_id` = 17  AND `field_id` = 25";

$results = $wpdb->get_results($sql) or die(mysql_error());

But I am getting error.

If I run the Query in phpMyAdmin it is working fine.