html help

Discussion in 'HTML & Website Design' started by msk19994, Apr 7, 2010.

  1. #1
    hey guys i hav a html file and i want to include a php file in it how can i include it

    ie if in php i would include

    <?php include( "linkex/data/output/1001" ); ?>

    how do i include this in an html file
     
    msk19994, Apr 7, 2010 IP
  2. snorkel

    snorkel Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can't use PHP code on an HTML page, the page must be .php.
     
    snorkel, Apr 7, 2010 IP
  3. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #3
    i meant to say is there an include command for html
     
    msk19994, Apr 7, 2010 IP
  4. ryantetek

    ryantetek Peon

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    there is none,but if you really need to do it,try to use frames.
     
    ryantetek, Apr 7, 2010 IP
  5. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #5
    ok i will try
     
    msk19994, Apr 7, 2010 IP
  6. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #6
    Which there's no legitimate reason to be trying to use after 1998 since that's usually a miserable accessibility /FAIL/ - and why it shouldn't EVER be recommended to nubes.
     
    deathshadow, Apr 8, 2010 IP