daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest Oct 29th, 2011 88 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top