Parse error: syntax error, unexpected '<' (2 posts)

  1. trbproperties
    Posted 7 years ago #

    My blog, http://www.triadwholesaledeals.com has an error in the sidebar php on line 17. Here is a copy of it:

    <div id="allsidebars">
    <div class="sidebarswrapper"><div class="sidebars">

    <?php if (get_option('greeting') || get_option('welcomemessage')) {
    echo "<div id='welcome'>";
    if (get_option('greeting')) {
    echo "<h2>" . get_option('greeting') . "</h2>";
    if (get_option('welcomemessage')) {
    echo "<p>" . get_option('welcomemessage') . "</p>";
    echo "</div>";
    } else {
    echo "<div id='welcome'><h2>Welcome!</h2><p>To customize this message, please go to your Admin panel and find Presentation->Theme Options. Modify at will!</p></div>";
    <div class="sidebarsbottom"></div>
    </div> <!-- Closes Sidebars -->
    </div> <!-- Closes SidebarsWrapper -->

    Any assistance would be greatly appreciated. Thanks

  2. mrmist
    Forum Janitor
    Posted 7 years ago #

    You've not closed your php tag before you go back into html at the bottom.

Topic Closed

This topic has been closed to new replies.

About this Topic