Archieve on Site is not working need some minor help with some PhP

Discussion in 'Black Hat SEO' started by nilomas, May 17, 2010.

  1. nilomas

    nilomas Regular Member

    Joined:
    May 7, 2010
    Messages:
    227
    Likes Received:
    30
    I was going to post the entire code, but I've labled it down to these lines.

    <?php else : ?>
    <?php { include ('errormessage.php'); } ?>
    <?php endif; ?>

    I'm not much into php format so could someone tell me what is wrong with this? I can't archive any of my stuff :(

    I could look it up for like 2 hours, but I figured hell some savvy person on BHW can tell me in like 5 min :)
     
  2. zestoi

    zestoi Newbie

    Joined:
    Mar 9, 2010
    Messages:
    41
    Likes Received:
    3
    should just be:

    PHP:
    <?php else : ?>
            <?php include ('errormessage.php'); ?>
          <?php endif; ?>
    seems the code was mixing else: type tags with {'s etc
     
  3. nilomas

    nilomas Regular Member

    Joined:
    May 7, 2010
    Messages:
    227
    Likes Received:
    30
    thanks man works now!