Re: Counting HTML Lines

From: Date: Fri, 15 Apr 2005 09:45:44 +0000
Subject: Re: Counting HTML Lines
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-39199@lists.php.net to get a copy of this message
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@orbitel.bg> > To: <php-db@lists.php.net> > Sent: Friday, April 15, 2005 5:06 PM > Subject: Re: [PHP-DB] 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: [application/pgp-signature]
« previous php.db (#39199) next »