I really prefer the following structure of code. By the way, in your code you didn't indicate what is the column for the image's URL, so, I'll assume in my following piece of code that it is: Image_URL
Please, pay attention to the use of the method $wpdb->prepare for sanitizing the query parameters. And pay attention to the method esc_attr in the image tag.
[insert_php]
global $wpdb;
$pr = get_the_title();
$results = $wpdb->get_results($wpdb->prepare("SELECT * from print_drug where Product_Name = %s", $pr));
foreach ($results as $obj) {
echo "<em><strong>Product Name:</strong></em> {$obj->Product_Name}<br>
<em><strong>Active Substance:</strong></em> {$obj->Active_Substance}<br>
<em><strong>Substance Sorting Identification Number:</strong></em> {$obj->Substance_Sorting_Identification_Number}<br>
<em><strong>Production Form of Use:</strong></em> {$obj->Production_Form_of_Use}<br>
<em><strong>Chemical Formation:</strong></em> {$obj->Chemical_Formation}<br>
<em><strong>Dosages of Use:</strong></em> {$obj->Dosages_of_Use}<br>
<em><strong>Approval Agency:</strong></em> {$obj->Approval_Agency}<br>
<em><strong>Year of Approval:</strong></em> {$obj->Year_of_Approval}<br>
<em><strong>Approval Assigned Company:</strong></em> {$obj->Approval_Assigned_Company}<br>
<em><strong>Approval Country:</strong></em> {$obj->Approval_Country}<br>
<em><strong>Prohibited Cases:</strong></em> {$obj->Prohibited_Cases}<br>
<image src='".esc_attr($obj->Image_URL)."'>";
}
[/insert_php]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…