I am creating a small plugin shortcode which appears to work ok except the number 1 appears below the output This is the code I am using to extract the data from the wp database table and wish to display on a wordpress page. global $wpdb; $result = $wpdb->get_row ( 'SELECT * FROM wp_lb_person WHERE id = "'.$id.'"'); echo $result->first_name. " " . $result->family_name. "<br />"; echo $result->date_of_birth."<br />"; echo $result->date_of_death."<br />"; The output to the page is below David Lyons 02/02/2001 02/02/2001 1 <------THIS IS THE PROBLEM Any ideas would be appreciated Regards Warwick