query("SELECT * FROM `lotus_products` ORDER BY `lotus_products`.`barcode` ASC");$n = 1;while ($row = mysqli_fetch_array($result)){ $barcode = $row[0]; $title = $row[1]; $price = $row[2]; $last = substr($barcode,10,3); $image = $web.$last."/".$barcode."/ShotType1_540x540.jpg"; if (false!==file($image)) { $imageData = base64_encode(file_get_contents($image)); ?>
echo $n; ?> | echo " | ".$title." | ".$price.""; ?> |