What are the differences between Get and post methods in
form submitting, give the case where we can use get and we
can use post methods?

Answer Posted / tushar kumar kundan

The built-in $_GET function is used to collect values from a
form sent with method="get".

Information sent from a form with the GET method is visible
to everyone (it will be displayed in the browser's address
bar) and has limits on the amount of information to send
(max. 100 characters).
============================================================
The built-in $_POST function is used to collect values from
a form sent with method="post".

Information sent from a form with the POST method is
invisible to others and has no limits on the amount of
information to send.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mysqli_fetch_array?

523


Does php use html?

479


What is self in php?

556


What is the difference between explode() and split() functions?

506


Why do we use cookie?

549






How to open standard output as a file handle?

562


What is prepared statement in php?

590


What are the advantages of oops in php?

563


what the new feature add in php 7.2?

541


What are the 3 types of sessions?

545


What's php?

633


How to move uploaded files to permanent directory?

535


Is php pass by reference or value?

538


How values in arrays are indexed?

597


Which functions are used to count the total number of array elements in php?

542