Guest User

Untitled

a guest
Oct 29th, 2011
106
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. require("sql.php");
  3.         $sqlvenda = "SELECT * FROM venda";
  4.         $qr = mysql_query($sqlvenda) or die (mysql_error());
  5.         while($ln = mysql_fetch_assoc($qr)){
  6.         $id = $ln['id'];
  7.         $nome = $ln['nome'];
  8.         ?>
  9.         <?php echo $nome; ?></h2><br>
  10. <a href="?pagina=carrinho&acao=add&id=<?php echo $id; ?>" />Comprar</a>
  11.         <?php } ?>
  12.  
  13.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×