1. What is the main difference between sending HTML form data using the HTTP GET method and the HTTP POST method? How is the data accessed within a PHP script? 2. For each of the following PHP code...


1. What is the main difference between sending HTML form data using the HTTP GET method and the HTTP POST method? How is the data accessed within a PHP script?


2. For each of the following PHP code snippets, write down what you’d expect to be displayed on the web page generated by PHP. Give a brief explanation of your answer in each case.


(a) $name='Fred';


echo 'Hello $name.';


(b) $name='Fred';


echo "Hello $name.";


(c) $name='Fred';


echo "Hello $nane.";


(d) $name='Fred';


echo 'Hello', $name;



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here