What is the wrong with this code?

Discussion in 'PHP' started by Susanz81, Apr 18, 2007.

  1. #1
    Dear all, I am using Easyphp. Why it was not displaying any thing?


    <html>
    <head>
    <title>Program 1</title></head>
    <body bgcolor="white" text="black">
    <?php
    echo "Hello, world! This is my first PHP program.";
    ?>
    </body>
    </html>
     
    Susanz81, Apr 18, 2007 IP
  2. chilli_source

    chilli_source Active Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #2
    where have you got it running?
    on a server or your local machine?

    do you have a url for it?
     
    chilli_source, Apr 18, 2007 IP
  3. Susanz81

    Susanz81 Peon

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am using EASYPHP for servers. I am using notepad and that was placed in WWW folder in my local machine.
     
    Susanz81, Apr 18, 2007 IP
  4. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #4
    krakjoe, Apr 18, 2007 IP