prepare(" SELECT products.productID, products.model, products.description, products.imagePath FROM userFavorites INNER JOIN products ON userFavorites.productID = products.productID WHERE userID = ? "); $stmt->bind_param("i", $_SESSION['user_id']); $stmt->execute(); $result = $stmt->get_result(); ?> num_rows > 0): ?> Deine Wunschliste fetch_assoc()): ?> = htmlspecialchars($product['model']) ?> = htmlspecialchars($product['description']) ?> Deine Wunschliste ist noch leer. close(); ?>
= htmlspecialchars($product['description']) ?>
Deine Wunschliste ist noch leer.