iMic
Joined: 26th Jul 2008
Posts: 659
Re: php errors -.-
Line 11:
echo "$_COOKIE['ID_my_site']))"
You have two closing brackets on the end that shouldn't be there.
Apart from that, any other errors you may have, we need the error messages to be 100% certain.
---
EOSERV.net Academy Of Trolls, Satirists & Sarcastics
5.5 Years Former Site Administrator / Moderation Team / Member (Retired)
14 years, 10 weeks ago
|
perfect
Joined: 8th Jul 2009
Posts: 1424
Re: php errors -.-
Okay, ill fix that small part and post the errors i get.
EdIt;
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/a9849382/public_html/bannermenu.php on line 11
Checking line 11 atm
;
line 11 is this:
echo "Welcome Guest!"; echo "<a href="register.php" >Register</a>|<a href="login.php" >Login</a>";
14 years, 10 weeks ago
|
Re: php errors -.-
You need escape characters when using echo.
echo "Welcome Guest!"; echo "<a href=\"register.php\" >Register</a>|<a href=\"login.php\" >Login</a>";
This way it won't see the quotes you're using in your link as the terminating quotes for the 'echo' function.
---
class EOSERV {
Programmer | Oldbie
Open source EO Client: https://github.com/ethanmoffat/EndlessClient
};
14 years, 10 weeks ago
|
Re: php errors -.-
or you can do print "";
(lol second time)
---
Andrewbob - I would be on the fucking copter of rofls
Programmer, Web Developer, and Graphics Designer
14 years, 10 weeks ago
|
perfect
Joined: 8th Jul 2009
Posts: 1424
Re: php errors -.-
Meh thanks for the help, but i decided i didn't really have any need for a login/register system so i just removed it.
14 years, 10 weeks ago
| | | | |