只想將$_SERVER['PHP_SELF']
作爲鏈接並附加?logout = 1。
<a href="<?php echo ''$_SERVER['PHP_SELF']'.logout=1' ?>" id="add"><input type="button" value="LOGOUT" /></a>
給
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in F:\export\srv\www\vhosts\main\htdocs\php\assign3\m_a2_functions.php on line 90
您忘記查詢'' – 2012-04-10 02:36:59
@JTSmith感謝 - 更新 – 2012-04-10 02:37:57