Guest User

Untitled

a guest
Jun 24th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. <?
  2. if (isset($_GET['id'])) {
  3. $query = mysql_query("SELECT * FROM produkter WHERE id='".$_GET['id']."'");
  4. $row = mysql_fetch_array($query);
  5. ?>
  6.  
  7. <?
  8. }
  9. ?>
  10.  
  11. <?
  12. $x = "x";
  13. $query = mysql_query("SELECT * FROM produkter ORDER BY id DESC LIMIT 25");
  14. while ($fetch = mysql_fetch_array($query)) {
  15. ?>
  16. <div id="produkt">
  17. <div id="produktbilled"><img src="<?= $fetch['picture'] ?>" alt="" /></a></div>
  18. <div class="produkttekst"><?= $fetch['navn'] ?></div>
  19. <div id="popupContact">
  20. <a id="popupContactClose">x</a>
  21. <h1><?= $fetch['navn'] ?></h1>
  22. <p id="contactArea">
  23. <?= $fetch['beskrivelse'] ?>
  24. <br/><br/>
  25. We can use it for popup-forms and more... just experiment!
  26. <br/><br/>
  27. Press ESCAPE, Click on X (right-top) or Click Out from the popup to close the popup!
  28. <br/><br/>
  29. </p>
  30. </div>
  31. <div id="backgroundPopup"></div>
  32.  
  33. <div id="pris"><strong><?= $fetch['status'] ?>,- DKK</div></strong>
  34. <div id="laegikurv"></div>
  35. </div>
  36. </tr>
  37. <?
  38. }
  39. ?>
Add Comment
Please, Sign In to add comment