Re: what is wrong with my script



On Thu, 2006-08-31 at 11:09 -0700, chen li wrote:
Hi guys,

I have a CGI script to process some data from the
visitors. The input data takes this format(row x
column):
1 2 4 5 6 7
100 90 50 30 20 0

After processing I want to print out the result in the
same format(row x column). But when I ran my script I
only get a row only:

1 2 4 5 6 7 100 90 50 30 20 0

It looks like all lines are changed into a string
only. Can anyone there give me a hand?

Browsers ignore most white space when rendering HTML. Since you're
trying to present tabular data, you should put in inside a table. That
should fix your formatting problems.

HTH

--
Joshua Colson <jcolson@xxxxxxxxxxxx>

.



Relevant Pages

  • what is wrong with my script
    ... I have a CGI script to process some data from the ... The input data takes this format(row x ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (perl.beginners)
  • Re: DANGER ZONE: Internet Explorer
    ... A fix has been made available to correct this. ... Windows users only (a great ... A revised WA cgi script for LISTSERV users on running other platforms (various ... Check the archives first to see if you have missed any messages; ...
    (NT-Bugtraq)
  • Re: The Year 2038 Problem
    ... > I had to rewrite a CGI script for the Air Force. ... I was contracted to fix it. ... the overflow bit to double the function's range. ...
    (comp.lang.c)
  • Re: Premature end of script headers and SUSE 10.0
    ... error when I try to pull up a .cgi script. ... I do not know how to fix the error. ... Chris Maaskant. ...
    (alt.os.linux.suse)
  • Re: Help on a little script
    ... At 06:18 PM 1/23/2005, Paul Schmehl wrote: ... >It would probably be a lot easier to fix the cgi script so it creates the ... To unsubscribe, ...
    (freebsd-questions)