Okie Herve,
Here it goes
$DATA = "Dear ".$salutation."\n"; //salutation is Naveen Shroff
$DATA = chunk_split($INTROPARA,65); //$INTROPARA holds the introduction para which is "Welcome to another exciting seaseon of fashion, style and fun! Here's your update on what's happening at your favourite store . Also find out whats in and whats not. Take a look at the l atest in fashion. "
//Put seperator.
for($sepCount = 0 ; $sepCount < 65 ; $sepCount++)
{
$TDATA.= "=";
}
$DATA.= "\n";
But after compiling this data what i am getting ouptput is something like this:
Dear Naveen Shroff, Welcome to another exciting seaseon of fashion, style and fun! Here's your update on what's happening at your favourite store . Also find out whats in and whats not. Take a look at the l atest in fashion. ================================================================= N-Force SHOWSTOPPERS Hip, high voltage fashion attire for today's women. A host of contemporary outfits to suit a variety of tastes and moods. Th ink of an occasion, and we have an outfit to match.
Its not taking a newline after the 65 chars...
I hope its now clear....
Thanks,
Naveen
Herve wrote:
Can you be a bit more explicit ?
What's the problem exactly ?