|
| A R C H I V E D M E S S A G E |
|
Subject: extra breaks/line returns in the data file |
| Posted: 07/01/2004 at 2:12:09 pm |
| By: eileen |
| Is there a way to correct for extra breaks in the data file? When someone hits enter when typing a comment the data file ends up with extra breaks which affects the import into excel.
Thanks. | |
|
|
Subject: Re: extra breaks/line returns in the data file |
| Posted: 07/01/2004 at 5:07:37 pm |
| By: Seth Knorr |
| The script automaticaly converts line breaks into <br> for just that reason. So if it is not working that way, then you must have commented out the line:
$value2 =~ s|\n|<br>\n|g;
in bizmail.cgi....
Or you may be using an older version that did not support this functionality.
Or your server is not configured properly.
Seth | |
|
|
Subject: Re: extra breaks/line returns in the data file |
| Posted: 07/07/2004 at 10:22:29 am |
| By: eileen |
| That one is not commented out - but the following ones are...
#$value2 =~ s/~!/ ~!/g;
#$value2 =~ s/(\r)+/\-\-/g;
#$value2 =~ s/\n+//g;
Would those ones make a difference. I am using the latest version. | |
|
|
Subject: Re: extra breaks/line returns in the data file |
| Posted: 07/09/2004 at 7:10:11 am |
| By: Seth Knorr |
| you can try uncommenting:
$value2 =~ s/\n+//g;
That may solve your problem.
Seth | |
|
|