comment lines not working....

Discussion in 'PHP' started by mahiraj, Dec 5, 2007.

  1. #1
    Hi all,

    my site had been created in php4.0 and xampp is used to create it.........
    now i want edit on that site.......
    and making it in wamp server....... but not any comment lines are working...
    and many more errors.........
    please suggest me what to do//

    help will be appreciated..........
    thanks...
     
    mahiraj, Dec 5, 2007 IP
  2. Gawk

    Gawk Peon

    Messages:
    427
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you post the url of site with errors and an example of the comment lines not working it may help in sorting out your problems.
     
    Gawk, Dec 6, 2007 IP
  3. chandubhai

    chandubhai Banned

    Messages:
    556
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can you post some details please.
     
    chandubhai, Dec 6, 2007 IP
  4. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #4
    If you meant comment lines don't work, they are not meant to "work"...

    
    $code = "foo";
    // $code = "bar";
    
    echo $code; // prints "foo"
    
    Code (php):
     
    Kaizoku, Dec 6, 2007 IP
  5. Gawk

    Gawk Peon

    Messages:
    427
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Seems a bit weird, try replacing the // for #

    Have you just moved to PHP5.0?
     
    Gawk, Dec 6, 2007 IP