Re: parse error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Schalk wrote:
> Greetings All,
> 
> Please have a look at the following code:
> 

your missing a closing brace some where - by the looks of things
not in the code you sent.

> if ($numrows < 1)
> // the member does not exist
> {
>    include ($adminfolderpath."/include/headeradmin.php");
>    echo "<p>That email does not exist in the members list.</p>";
>    echo "<p><a href='login.php'>Please login</a>.</p>";
>    include ($adminfolderpath."/include/footeradmin.php");
>    exit;
> }
> 
> if (md5($memberpassword) !=$dbmemberpassword)
> // the password does not match the one in the database
> {
>    include ($adminfolderpath."/include/headeradmin.php");
>    echo "<p>Incorrect password, please try again.</p>";
>    login();
>    include ($adminfolderpath."/include/footeradmin.php");
>    exit;
> } else {
>    header("Location:
> http://demo.bdiverse.com/accessible/admin/listmypages.php";);
>    exit;   }
> ?>
> 
> I am getting the following error:* Parse error*: parse error, unexpected
> $ in
> */home/httpd/vhosts/demo.bdiverse.com/httpdocs/accessible/processlogin.php*
> on line *69
> 
> In my code the last line i.e. ?> is marked as line 69
> 
> Can someone please let me know what is causing this error? Thanks!
> *
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux