tags:

views:

41

answers:

1

I am receiving this PHP parse error on the last line of this php file. What am I missing? Here is the last 15 lines or so.

     <div id="footer">
        <br />
        <p><b>Member Total:</b><?php echo $database->getNumMembers(); ?>
            <br>There are <?php echo $database->num_active_users; ?> registered members and    <?php $database->num_active_guests; ?> guests viewing the site.<br><br>
            <?php
            include("include/view_active.php");
            ?>
        </p>
     </div><!-- #footer -->
<? } ?>
</div><!-- #main -->

<?php include("_footer.html"); ?>

Any help would be appreciated. Thank you!

Edit: Here is the error: PHP Parse error: parse error on line 113

A: 

convert the line

<? } ?>

to

<?php } ?>

Maybe your server doesn't permits the short php opening tags

http://stackoverflow.com/questions/200640/are-php-short-tags-acceptable-to-use

Eineki
That worked. Thank you for the quick response.
adcmarti