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 trialUnsubscribed User
Front End Web Development Techdegree Student 13,843 PointsPosting Form Data Locally(MAMP)
Hey friends,
My mom works for a company who doesn't have a good way to get new employees' basic information into their intranet. I want to help!
I've created a basic form that they can fill out and submit. I am trying to test it locally and I'm just in the baby stages with basically no knowledge of server-side languages. I've downloaded MAMP and have a local host set up on my computer.
I just don't know where to go from here. My objective is to be able to fill out the form and have the data stored on my local server(MAMP). Then, I would like to use a search input and search for that person by name and be able to pull up all of their information in a friendly looking way.
Can anyone point me in the correct direction? Am I in over my head or would this be pretty simple to do? Thanks!
2 Answers
Talip Can Korkmazer
9,405 PointsHi, firstly javascript is a client-side progamming language. That means your code only work on the browser. You can send, receive and manipulate data with javascript but can't process the data. By mean process, write the datas to database or such. You need a server-side progamming language such as php. I understand your goal is putting some data to a database and read those afterward. So check the php course on treehouse. Those courses give you the information you need.
sradms0
Treehouse Project ReviewerYou could just use node.js.
Unsubscribed User
Front End Web Development Techdegree Student 13,843 PointsUnsubscribed User
Front End Web Development Techdegree Student 13,843 PointsAwesome! Looks like I will need to get my hands dirty with some server side language. Woo hoo! :) Thank you!