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 api example?

513


Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?

542


Write a program to display a table of any given number?

484


What is difference between action hook and filter hook?

489


Which is better php or wordpress?

509






Explain about getters and setters in php?

525


What is mvc php?

511


How to change the principal password?

617


What is the difference between array_merge() and array_merge_recursive() in php?

537


Can I run php without xampp?

491


What are the new features available in php 7?

535


What is php date function?

558


What is difference between strstr() and stristr()?

520


Can I learn laravel without php?

561


What is difference between static and final in php?

522