Re: PHP help: login.php T_ELSE error

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

 



That's a *lot* of levels... easy to get caught up in it. You probably have more closing braces than you though opening braces, but skimming the code quickly I didn't catch where.

**** else if( !$userdata['session_logged_in'] )  *****
 {
  $page_title = $lang['Login'];
  include($phpbb_root_path . 'includes/page_header.'.$phpEx);


**** That's the error line, Line 158 Parse error: parse error, unexpected T_ELSE in /home/site/public_html/phpBB2/login.php on line 158

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux