Parse error help
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Parse error help
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
line 163 is the ending </html> tag
and it just said parse error on line 163
and it just said parse error on line 163
Re: Parse error help
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.
-
- Posts: 4
- Joined: Tue Mar 02, 2010 7:56 am
Re: Parse error help
Parse error: parse error in C:\wamp\www\tutorial\authenticate.php on line 7
can you plz tell me what i did wrong?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);
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Parse error help
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.
The indelible lord of tl;dr
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Parse error help
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.OldRod wrote:Line 6: make your ( a {
-
- Posts: 4
- Joined: Tue Mar 02, 2010 7:56 am
Re: Parse error help
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 
