Give the case where we can use get and we can use post methods?



Give the case where we can use get and we can use post methods?..

Answer / Akshya Chaturvedi

GET is typically used for requests that are safe (i.e., they don't change any data on the server) and involve non-sensitive data, such as searching or retrieving data without modifying it. On the other hand, POST is used when sending data to be processed on the server, usually sensitive data, and when the request requires complex processing or modification of existing data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How many types of inheritances used in php and how we achieve it.

1 Answers  


What is the difference between php and java?

1 Answers  


What is mysql_fetch_object?

1 Answers  


Tell me how to retrieve a cookie value?

1 Answers  


What is the difference between nowdoc and heredoc?

1 Answers  


What is php beginner?

1 Answers  


What is the functionality of the function html entities?

3 Answers  


1.What is application server ? 2.What is web server ? 3.Explain the process of execution of a php file ?

9 Answers   IBM,


Can anyone explain about join?

3 Answers  


what is the current salary package in India for a PHP programmer who has 1.5 years experience

1 Answers   ABB,


How do I clear my browser session?

1 Answers  


1. Create student database. 2. First page should display the students available in the database. There should be add, edit and delete buttons. 3. There should be option to search students by name, code, date of joining, department or combination of these. 4. Should have an add/edit screen. Add and Edit should be handled in the same page. 5. Delete should ask for confirmation before deleting the actual record. 6. Validation should be done in JavaScript as well as php.

0 Answers   Zonex,


Categories