Jump to content

Easy question what is $_GET['message']


mudi

Recommended Posts

just to kind of add on to what DarkWater is saying,  $_GET will be used when the method attribute on a form is set to get.  For example:

 

<form name="myGreatForm" action="do/thing" method="GET">

 

All data is then pass to your PHP script via the URL itself.  More specifically, method=get makes use of a specific feature of the HTTP request structure.  The other option is POST, where data is not passed via the URL, but in a "part" of the HTTP request that is usually not visible to the user.

 

Since you said you're new, welcome to PHP :)

 

I'm sure you'll love it as much as we do!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.