daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest May 16th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <? foreach array("M", "L", "XL") as $size ?>
  2. Купить
  3. <a href="/add2basket.php?size=<?= $size ?>"><?= $size ?></a>
  4. <? endfor ?>
  5.  
  6. <!-- или -->
  7.  
  8. <form action="/add2basket.php" method="post">
  9.   <? foreach array("M", "L", "XL") as $size ?>
  10.   <input id="size-<?= $size ?>" type="radio" name="size" value="<?= $size ?>" />
  11.   <label for="size-<?= $size ?>"><?= $size ?></label>
  12.  
  13.   <input type="submit" value="Купить сичяс" />
  14. </form>
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