Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- if (isset($_GET['id'])) {
- $query = mysql_query("SELECT * FROM produkter WHERE id='".$_GET['id']."'");
- $row = mysql_fetch_array($query);
- ?>
- <?
- }
- ?>
- <?
- $x = "x";
- $query = mysql_query("SELECT * FROM produkter ORDER BY id DESC LIMIT 25");
- while ($fetch = mysql_fetch_array($query)) {
- ?>
- <div id="produkt">
- <div id="produktbilled"><img src="<?= $fetch['picture'] ?>" alt="" /></a></div>
- <div class="produkttekst"><?= $fetch['navn'] ?></div>
- <div id="popupContact">
- <a id="popupContactClose">x</a>
- <h1><?= $fetch['navn'] ?></h1>
- <p id="contactArea">
- <?= $fetch['beskrivelse'] ?>
- <br/><br/>
- We can use it for popup-forms and more... just experiment!
- <br/><br/>
- Press ESCAPE, Click on X (right-top) or Click Out from the popup to close the popup!
- <br/><br/>
- </p>
- </div>
- <div id="backgroundPopup"></div>
- <div id="pris"><strong><?= $fetch['status'] ?>,- DKK</div></strong>
- <div id="laegikurv"></div>
- </div>
- </tr>
- <?
- }
- ?>
Add Comment
Please, Sign In to add comment