WAMP5 Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #16
    do you have short tags enabled (see phpinfo())? generally, it is best to use the full tag (<?php).

    further,
    Code:
    <?include('file.php');?>
    is invalid ("<?include" is not a valid processing instruction), better use
    Code:
    <?php include 'file.php'; ?>

    Comment

    • jessy
      New Member
      • Oct 2006
      • 106

      #17
      Originally posted by Dormilich
      do you have short tags enabled (see phpinfo())? generally, it is best to use the full tag (<?php).

      further,
      Code:
      <?include('file.php');?>
      is invalid ("<?include" is not a valid processing instruction), better use
      Code:
      <?php include 'file.php'; ?>
      GOD BLESS YOU !

      Thanks alot
      R u married :)

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #18
        yea..... small cause, big trouble (if it were always that simple)

        Comment

        • Atli
          Recognized Expert Expert
          • Nov 2006
          • 5062

          #19
          So it all boils down to a syntax error. Those things will be the death of us all :]

          Still, you should have seen the code in the source of your page. Didn't you check that a few posts back?

          In any case, glad it all worked out.

          Comment

          Working...