運行一下:
<center><H1><b>PHP中的全局變量</b></H1></center>
<table width=90% border=1 cellpadding=2 align=center>
<tr><td align=center>變量名</td><td align=center>變量值</td>
<?php
for($i=0;$i<count($GLOBALS)-3;$i++){
echo "<tr>";
$gl = each($GLOBALS);
echo "<td> $gl[0]</td>";
echo "<td> ".stripslashes($gl[1])."</td>";
echo "</tr>\n";
}
?>
</table>
然後幫助文檔裏面有
<center><H1><b>PHP中的全局變量</b></H1></center>
<table width=90% border=1 cellpadding=2 align=center>
<tr><td align=center>變量名</td><td align=center>變量值</td>
<?php
for($i=0;$i<count($GLOBALS)-3;$i++){
echo "<tr>";
$gl = each($GLOBALS);
echo "<td> $gl[0]</td>";
echo "<td> ".stripslashes($gl[1])."</td>";
echo "</tr>\n";
}
?>
</table>
然後幫助文檔裏面有
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货