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