First PHP script, need your help to debug

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

    First PHP script, need your help to debug

    OK. On line, mail($to_addr,' Form One'); I accidentally deleted
    $mail_body at end, so, it should read: mail($to_addr,' Form
    One',$mail_body );

    Now I receive the email with all the FORM elment names but without
    values, how come?

    Thanks.
  • Sandman

    #2
    Re: First PHP script, need your help to debug

    In article <9a172893.04022 11350.73ee6a2f@ posting.google. com>,
    donli@yahoo.com (DonLi) wrote:
    [color=blue]
    > OK. On line, mail($to_addr,' Form One'); I accidentally deleted
    > $mail_body at end, so, it should read: mail($to_addr,' Form
    > One',$mail_body );
    >
    > Now I receive the email with all the FORM elment names but without
    > values, how come?[/color]

    See my reply.

    --
    Sandman[.net]

    Comment

    • DonLi

      #3
      Re: First PHP script, need your help to debug

      Thank you both. Everything is working now. But I know PHP is sort of
      tied to Unix/Linux thing, hence, case sensitive. The weird thing is,
      PHP does not seem to like ALL CAP variable name (FORM ELEMENT), after
      I changed that, it works beautiful.

      Don

      Sandman <mr@sandman.net > wrote in message news:<mr-0D89BA.23102521 022004@news.fu-berlin.de>...[color=blue]
      > In article <9a172893.04022 11350.73ee6a2f@ posting.google. com>,
      > donli@yahoo.com (DonLi) wrote:
      >[color=green]
      > > OK. On line, mail($to_addr,' Form One'); I accidentally deleted
      > > $mail_body at end, so, it should read: mail($to_addr,' Form
      > > One',$mail_body );
      > >
      > > Now I receive the email with all the FORM elment names but without
      > > values, how come?[/color]
      >
      > See my reply.[/color]

      Comment

      Working...