On Friday 15 April 2005 12:09, Ng Hwee Hwee wrote: > hi! > > thanx for your reply. i cannot count the number of "\n" because sometimes > the inputted text is very long without any "\n", but because it is inside a > cell that has a linited width, HTML will automatically push it to the next > line, right? in this case, there won't be a count for "\n". then it's a matter of a HTML parser and browser rending - each browser can display the content in a different way. if you want to count the number of lines you output to the client - i mentioned the way. you can buffer the output and count. > > hwee > > ----- Original Message ----- > From: "Petar Nedyalkov" <bu@xxxxxxxxxx> > To: <php-db@xxxxxxxxxxxxx> > Sent: Friday, April 15, 2005 5:06 PM > Subject: Re: Counting HTML Lines > > Count the "\n" characters in the output. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436
Attachment:
pgpOMuVzkQ03r.pgp
Description: PGP signature