Thanks everyone for their assistance. I changed the WHERE query to project id and all is good now.
if (isset($_GET['project_id'])) {
$id= intval($_GET['project_id']); // Sanitize input
// Query to get the projects info
$projects = $wpdb->get_results($wpdb->prepare("SELECT * FROM 'table WHERE project_ind = %d", $id));