Jump to content

[SOLVED] Unexpected End.


MasterACE14

Recommended Posts

I have a file which is throwing me a error, I have been staring at the same file for a couple of hours now. I just can't find where the error is coming from.

 

here's the error:

Parse error: syntax error, unexpected $end in /home/eliteace/public_html/realmbattles/attack.php on line 526

 

here's part of the code:

<?php
      numecho(getDefenseAction($user));
?>
                      </TD>
                      <TD align=right>Ranked 
<?php
      if ($userR->defenceActionRank) {
          numecho($userR->defenceActionRank);
      } else
          echo "#unranked";
?>
                      </TD>
                    </TR>
                    <TR> 
                      <TD><B>Covert Action</B></TD>
                      <TD align=right>
<?php
      numecho(getCovertAction($user->ID));
?>
                      </TD>
                      <TD align=right>Ranked 
<?php
      if ($userR->covertActionRank) {
          numecho($userR->covertActionRank);
      } else
          echo "#unranked";
?>
                      </TD>
                    </TR>
                  </TBODY>
                </TABLE></TD></TR></TBODY></TABLE>
<?php
      include("bottom.php");
// this is line 526 and the last line in the file ?>

 

any help is greatly appreciated.

 

Regards ACE

Link to comment
https://forums.phpfreaks.com/topic/138106-solved-unexpected-end/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.