Loading ...
Sorry, an error occurred while loading the content.

Re: New to CGI - basic help... Thanks!!!!

Expand Messages
  • Greg
    ... a flat file ... other way ... ==================================== Yep, put the n in the right place! Try: print OUTF $FORM{ name } n ; Greg
    Message 1 of 4 , Apr 26 6:15 AM
    View Source
    • 0 Attachment
      --- In perl-beginner@y..., ash_angelfire7@y... wrote:
      > Anyway, one last query; I am capturing the form data and writing to
      a flat file
      > using command
      > print OUTF "$FORM{'name \n'}";
      > print OUTF "\n";
      >
      > Inspite of using the "\n" there is no line break. Why? Is there any
      other way
      > to achieve this?
      ====================================

      Yep, put the "\n" in the right place!
      Try:
      print OUTF "$FORM{'name'}\n";

      Greg
    Your message has been successfully submitted and would be delivered to recipients shortly.