Home > Backend Development > PHP Tutorial > get得如何调啊?在线求助~~

get得如何调啊?在线求助~~

WBOY
Release: 2016-06-23 14:13:43
Original
1105 people have browsed it

go=$_GET['go'];
?>
像这样的,要取得地址栏go的数据。。。下面得如何调啊?
get得如何调啊?在线求助~~">


回复讨论(解决方案)

asp是 
php真烦人。。搞得晕死~~

$go=$_GET['go']; 
?>

get得如何调啊?在线求助~~"> 

你说的那种也可以,但是要打开短标签支持。
php.ini 设置 short_open_tag=On 后,重启web服务器就可以了

一看就是语法的错误呀

在 php 5.4 中,写作 =$go?> 永远是正确的!无需任何设置

$符号都不见了

$mygo=$_GET['go']; 这样就可以

$go=$_GET['go'];
?>

get得如何调啊?在线求助~~">

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template