keine ahnung
This commit is contained in:
parent
d86c393d84
commit
b88a56d8ea
@ -206,10 +206,10 @@ $productId = isset($_GET['id']) ? (int)$_GET['id'] : 0;
|
||||
|
||||
<?php
|
||||
$stmt = mysqli_prepare($conn,
|
||||
"SELECT price, shippingCost, inStock, shops.name, shops.website, shops.logoPath, shops.shippingTime
|
||||
"SELECT price, shippingCost, inStock, shops.name, offers.offerURL, shops.logoPath, shops.shippingTime
|
||||
FROM offers
|
||||
INNER JOIN shops ON
|
||||
offers.shopID = shops.shopID WHERE offers.productID = ?");
|
||||
offers.shopID = shops.shopID WHERE offers.productID = ? ORDER BY offers.price ASC");
|
||||
|
||||
$stmt->bind_param("i", $productId);
|
||||
$stmt->execute();
|
||||
@ -239,7 +239,7 @@ $productId = isset($_GET['id']) ? (int)$_GET['id'] : 0;
|
||||
alt ="Kein Logo gefunden" >
|
||||
</div>
|
||||
<div class="shop-name">
|
||||
<a href="<?= htmlspecialchars($shop['website']) ?>" target="_blank">
|
||||
<a href="<?= htmlspecialchars($shop['offerURL']) ?>" target="_blank">
|
||||
<?= htmlspecialchars($shop['name']) ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user