Guest User

Untitled

a guest
Apr 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. foreach($wares as $ware):
  2. ...            
  3. echo '<form action="' . url_for("cart/add") . '" method="POST">';
  4. echo 'Amount: ';
  5. echo '<input type="text" name="quantity"/>';
  6. echo '<input type="hidden" name="id" value="' .$ware->getId() .'"/>';
  7. echo '<input type="submit" value"BUY"/>';
Add Comment
Please, Sign In to add comment