Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>reserver</h1>
- <form action="" method ="post">
- <input type="text" name="seat">
- <input type="text" name="type">
- <input type="text" name="quantity">
- <input type="submit">
- </form>
- class reservationController extends Controller
- {
- public function CreateReservationtAction(String seat ,String type ,String Quantity){
- //code to insert into database
- return $this->render("pages/reserver.html.twig");
- }
- }
- techevent_reservation:
- path: /res
- defaults: { _controller: techeventBundle:reservation:CreateReservation }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement