ok
Direktori : /proc/self/root/proc/thread-self/root/proc/self/root/home2/selectio/public_html/ramali.in/ |
Current File : //proc/self/root/proc/thread-self/root/proc/self/root/home2/selectio/public_html/ramali.in/pdf.php |
<?php include "config/config.php"; $product_id = $_GET['id']; $statement = $pdo->prepare("SELECT products.*,product_variant.price,product_variant.discounted_price,product_variant.measurement,product_variant.serve_for,product_variant.sku FROM products LEFT JOIN product_variant ON product_variant.product_id=products.id WHERE products.id=".$product_id.""); $statement->execute(); $res_product = $statement->fetchAll(PDO::FETCH_ASSOC); error_log("SELECT products.*,product_variant.price,product_variant.discounted_price,product_variant.measurement,product_variant.serve_for,product_variant.sku FROM products LEFT JOIN product_variant ON product_variant.product_id=products.id WHERE products.id=".$product_id.""); /*$htmldata.='<div> <div class="container">';*/ $images = $res_product[0]['other_images']; $rs=json_decode($images); foreach($rs as $img){ error_log($img); $htmldata.=' <img src="https://ramali.in/dashboard/'.$img.'" style="width: 100%;"/> '; error_log("https://ramali.in/dashboard/'.$img.'"); error_log("https://ramali.in/"); } /*$htmldata.='</div> </div>';*/ $download_name = "Ramali Textiles - ".$res_product[0]['name']; ?>