Module #8 Assignment


1. What is the difference between $_Get vs. $_POST? 

In PHP, $_GET and $_POST are used to collect data from forms, but they work a little differently. $_GET sends the data through the URL, so anything someone types into the form shows up in the browser’s address bar. It’s usually used for small amounts of information or data that doesn’t need to be private. $_POST sends the data behind the scenes in the request instead of the URL, which makes it more secure, especially for sensitive info or larger data. So, the main difference is that $_GET shows the info in the URL, while $_POST keeps it hidden.


website link - Message Form

Comments

Popular posts from this blog

My Website Wireframe & Design Process

Module 4 Assignment

Module #9 Assignment