Home

   Home

   Download


Help

   FAQ

   Installation

   Message Board

   Importing Data File
   Into GoldMine
   Into Act


Other

   Testimonies

   Custom Programming

   PHP Version


Other Favorites

   Hire a clean comedian

   Bible Search Engine

   Bible in a Year

   Parallel Bible

   The Richer Life










 





[ Message Board Home ]    [ Post Reply ]    [ Log In ]    [ Sign Up ]



  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



  Subject: Re: extra breaks/line returns in the data file
  Posted: 05/19/2006 at 1:01:05 am
  By: jimmygreaves

Is it possible to amend the script so that line returns are removed altogether from the datafile and replaced with a hash #, for example?

Would you have to amend this statement
$value2 =~ s|\n|<br>\n|g;



  Subject: Re: extra breaks/line returns in the data file
  Posted: 05/19/2006 at 7:26:57 am
  By: Seth Knorr

Yes, however I would probalby replace with something other than a #

However if you do use a # it will have to be \#
When adding because the # sign is the code to comment out.



Reply To This Topic

Subject
Message  
Username
Password
Due to unrelated post's, you must have an
account to post a message. To Sign Up click here.




Copyright 2000-2010 Seth M. Knorr,
BizMailForm.com Forms Processor, All Rights Reserved