Advertisement
ajjunior33

Passando ID por Button

Oct 20th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. /*painel*/
  2. <div class="box_vendas">
  3. <a href="teste.php"><button class="btn button_yes" type="submit" name="tt" method="post" value="andre">teste</button></a>
  4. </div>
  5.  
  6. <?php
  7.  
  8.  
  9. $teste = $_POST['tt'];
  10. echo "<br>$teste";
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement