Go back and type a string to search"; echo " click to return to the Homepage"; } return; } $display_rx = $search; $search = "%$search%"; $db = mysql_connect('localhost', 'drugczar', 'poppills-321.') or die ("Can't connect to DB!");//Problem connecting to DataBase"); $query = 'SELECT `product_name` , `store_retail` , `free_shipping` , `order_link_id` '; $query .= 'FROM `mpllc_drug_list` '; // `mpllc_price_chart` '; $query .= 'WHERE `product_name` '; $query .= 'LIKE \'' . $search . '\''; $result = mysql_db_query("prmd_rxdrugs", $query); # if(!$result){ # die("DB ERROR"); // . mysql_error()); // if the result is not a proper result then we output the error # } if (mysql_num_rows($result)) { echo " $display_rx RX ORDER INFORMATION Select your medication below - "; echo ""; while ($r = mysql_fetch_array($result)) { // Begin while $drug = $r["product_name"]; $retail_price = $r["store_retail"]; $free_shipping = $r["free_shipping"]; if ($free_shipping) { $free_shipping = "FREE!"; } else { $free_shipping = "$19.00"; } $order_link_id = $r["order_link_id"]; // if ($vendor_id == '1') { // MPLLC $order_link = "https://PrescriptionMD.hsnsecure.com/order.aspx?prod=" . $order_link_id . "&st=1159"; $order_code = "order now"; echo ""; } // end while echo " drug name price shipping order $drug \$$retail_price $free_shipping $order_code "; /* Free resultset */ mysql_free_result($result); /* Closing connection */ mysql_close($db); } else if ($show_err) { echo " "; print " ... read more about ".$display_rx." "; echo " $display_rx RX ORDER INFORMATION "; echo "No Supply Pharmacy found ... check back regularly as we're constantly adding suppliers- "; echo "click here to enter a new search "; echo " NOTE: If the medication you're looking for is not not found here, we may be able to obtain it for you from a partner Pharmacy at no additional cost to you as follows: ... In such a case, simply use the 'contact us' form at contact page (or by clicking this link) to provide us the details of the medication you're looking for (i.e. name, dose/strength and quantity), and, we'll get back to you promptly with special order instructions. "; } } ?> Phentermine, Viagra, Adipex, and other prescription medications Online Pharmacy | ' . $sitename . ' Rx'); echo (''); echo (''); } ?> Weight Loss Pain Relief Hair Loss Men's Health Women's Health Skin Care Stop Smoking Sexual Health Muscle Relaxants Allergy Relief Anti-Depressants Anxiety Sleeping Aids Stomach Herpes Non-Prescription | PriceList | About Us | Faq | Affiliates | Order Status | Contact Us order online: Click here for discount prices and medication list, and to buy