code_junkie

What PHP coding in a website allows the user get to the next page and make changes?

Nov 13th, 2011
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. <a href="step2.php?myvar=foo">Foo!</a>
  2. <a href="step2.php?myvar=bar">Bar!</a>
  3.  
  4. <?php
  5.  
  6. echo "you clicked on ".$_GET['myvar'];
  7.  
  8. ?>
Add Comment
Please, Sign In to add comment