Hi,
I have here a little script,
but everytime i add target blank to it it says:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\xampp\htdocs\test\menu.php on line 16
Here's the script:
<?php
######## \\
## menu.php
######## //
if(!isset($_SESSION['name']) && !isset($_SESSION['pass'])){
echo "<a href=\"index.php?\">Homepage</a><br>";
echo "<a href=\"index.php?act=login\">Login</a><br>";
echo "<a href=\"index.php?act=forgot\">Forgot password</a><br>";
echo "<a href=\"index.php?act=groups\">Groups</a><br>";
echo "<a href=\"index.php?act=ws_top\">WS Topscores</a><br>";
echo "<a href=\"index.php?act=info\">Hotel information</a><br>";
echo "<a href=\"index.php?act=members\">Memberlist</a><br>";
echo "<a href=\"index.php?act=signup\">Register</a><br><br>";
Only the register link needs target blank.