Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKonstantinos Pedarakis
21,301 PointsPost data inside a Twig file
hi! i followed along the video's exercise and all went just perfect!!! i have a question about how to get a post variable back or data in general, since i am doing something on my own, similar to this example just to practice a bit. in the video we saw how to post back to the same page (/contact) and retrieve that data that we sent from the form. i am wondering if i want to make lets say a new page called for ex information.twig and i want to post that data (name,email, msg) in that page, how i could do that? i mean i can post the data easily sending them through the form to that page, but next, hoe i can retrieve them lets say inside my information.twig file and manipulate them for example in the {% block content%}???