help me with include function, folder problem.

Discussion in 'PHP' started by diego018, Jul 16, 2007.

Thread Status:
Not open for further replies.
  1. #1
    hi.
    ive just put this code:
    <?php include(included/interested.php) ?>
    <?php include(included/htmllinks.php) ?>
    into www.dotalex.com/html.php

    i want to include this files:
    www.dotalex.com/included/htmllinks.php
    www.dotalex.com/included/interested.php

    but it gives me this error:

    i dont have idea of what is it. whats my error?
    im using godaddy hosting.
     
    diego018, Jul 16, 2007 IP
  2. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <?php include ("included/interested.php"); ?>
    <?php include ("included/htmllinks.php"); ?>
     
    uglyboy, Jul 16, 2007 IP
    diego018 likes this.
  3. lowridertj

    lowridertj Well-Known Member

    Messages:
    2,882
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    195
    #3
    as above stated use double quotes. sometimes on some servers this helps. if it does not. use the full path in double quotes always works .

    TJ
     
    lowridertj, Jul 16, 2007 IP
Thread Status:
Not open for further replies.