php获取文本框内容 php中获取文本框的值?

php中获取文本框的值?是$Get或$post代码如下:<form action=“”method=“post”>文本框:<input type=“text”name=“text”>&

php中获取文本框的值?

是$Get或$post代码如下:<form action=“”method=“post”>文本框:<input type=“text”name=“text”><input type=“submit”value=“submit”,name=“sub”></form><?Phpif(!空($uPost[“sub”]){echo$uPost[“text”]}?>如果是get,则更改为get