Page 2 of 2
Re: Parse error help
Posted: Sun Aug 09, 2009 3:19 pm
by hallsofvallhalla
please give us what line is 163 and what the actual error was, word for word. It helps us find it faster..thanks
Re: Parse error help
Posted: Sun Aug 09, 2009 5:20 pm
by Rob
line 163 is the ending </html> tag
and it just said parse error on line 163
Re: Parse error help
Posted: Sun Aug 09, 2009 7:13 pm
by Noctrine
A parse error on the HTML tag means that you didn't close something out earlier, and it was expecting to be closed before you declared the end of the document.
Re: Parse error help
Posted: Sun Aug 09, 2009 9:13 pm
by Rob
Ahh, Thanks I've fixed it.
Re: Parse error help
Posted: Wed Mar 03, 2010 8:06 am
by stickandmove
Parse error: parse error in C:\wamp\www\tutorial\authenticate.php on line 7
1.<?php
2.include_once 'connect';
3.session_start();
4.
5.if (isset($_POST['submit']))
6.(
7. $player=$_POST['player'];
8.$password=$_POST['password'];
9.$player=strip_tags($player);
10.$password=strip_tags(password);
11.$password=nd5($password);
can you plz tell me what i did wrong?
Re: Parse error help
Posted: Wed Mar 03, 2010 9:58 am
by OldRod
Line 6: make your ( a {
Re: Parse error help
Posted: Wed Mar 03, 2010 1:13 pm
by Jackolantern
Also, I don't know if you are only showing part of your code, but you need to close the { } as well for the IF statement.
Re: Parse error help
Posted: Wed Mar 03, 2010 1:48 pm
by hallsofvallhalla
OldRod wrote:Line 6: make your ( a {
that is a common mistake we see a lot. I may ephasize this on my next video, or on my first videos of the new games.
Re: Parse error help
Posted: Wed Mar 03, 2010 2:47 pm
by stickandmove
thanx alot, yet again i made a few mistakes in the coding, i was able to read over it and find them all, i think ill take your advise and watch all the vids a few times b4 i actually try to follow the tutorials, thanx again
