Home >Backend Development >PHP Tutorial >Summary of several methods of obtaining parameters in php_PHP tutorial

Summary of several methods of obtaining parameters in php_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 10:24:481079browse

A summary of several ways to obtain parameters in php

$value = $_POST["value"];//Get the value in post

$value=$_REQUEST["value"];//Get the parameters in get or post (get whichever one is available)

$value=$_GET["value"];//Get the parameters in get

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/825306.htmlTechArticleSummary of several methods of obtaining parameters in php $value = $_POST["value"];//Getting post $value=$_REQUEST["value"];//Get the parameters in get or post (get whichever one is available) $value=$_GET[...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn