What is "# --" ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Martin

    What is "# --" ?

    Newbie question here.

    What does "# --" mean?

    I downloaded a PHP example of uploading a file and it contains several
    of these. Does it indicate a comment? I can't find an explanation
    anywhere (including two books I have on PHP).

    Thanks.
  • Walker Pendleton

    #2
    Re: What is "# --" ?

    On 1 Oct 2004, martinvalley@co mcast.net wrote:[color=blue]
    > Newbie question here.
    >
    > What does "# --" mean?
    >
    > I downloaded a PHP example of uploading a file and it contains several
    > of these. Does it indicate a comment? I can't find an explanation
    > anywhere (including two books I have on PHP).
    >
    > Thanks.[/color]

    ``#'' is a comment marker, indicating a comment through the end of
    line.

    It's just like ``//''. It's used in many Unix languages.

    Comment

    • Alvaro G Vicario

      #3
      Re: What is "# --" ?

      *** Martin wrote/escribió (Fri, 01 Oct 2004 08:31:15 -0700):[color=blue]
      > I downloaded a PHP example of uploading a file and it contains several
      > of these. Does it indicate a comment? I can't find an explanation
      > anywhere (including two books I have on PHP).[/color]

      Try here:




      --
      -- Álvaro G. Vicario - Burgos, Spain
      -- Thank you for not e-mailing me your questions
      --

      Comment

      Working...