Jump to content

php mysql and forms.


Recommended Posts

"request" is not an HTTP method. GET appends data to the URL and has a size limit, POST does not put the data in the URL and can send about as much data as the server will allow.

As far as the database is concerned, it doesn't really matter how the data got there.

 

GET requests are usually used for reading data without changing anything on the server while POST is used to give data to the server, so for a database-driven application the most common approach is to use POST to put the data in and GET to pull the data out.

Link to post
Share on other sites

"request" is not an HTTP method. GET appends data to the URL and has a size limit, POST does not put the data in the URL and can send about as much data as the server will allow.

As far as the database is concerned, it doesn't really matter how the data got there.

 

GET requests are usually used for reading data without changing anything on the server while POST is used to give data to the server, so for a database-driven application the most common approach is to use POST to put the data in and GET to pull the data out.

 

 

Thank you!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...