Number keeps appearing below plugin shortcode output
-
Hi,
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
1Any ideas would be appreciated
Regards
Warwick
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
- The topic ‘Number keeps appearing below plugin shortcode output’ is closed to new replies.