Monday, October 6, 2014

2.4 $_REQUEST

The CODE


- Just like in the previously tutorial, we used the $_REQUEST global variable in retrieving / catching data. But the difference is you dont need to change the method of the form. Generally, it will acts depends on what method of the form you declared. Just like when the method of the form is GET is will handle the data just like the $_GET same as well in the $_POST variable.



The Output

- It will behave depends on the method of the form



The URL Encode

- Just like the output, it will also encoded the url depends on the method of the form



The Conclusion

- In general, the $_REQUEST global will reacts / behave depends on the declared method of the form. And it doesn't constitute any specific form method



2 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. […] <<$_REQUEST |TOC| Select>> […]

    ReplyDelete

Note: Only a member of this blog may post a comment.