Re: simple database extraction problem :(
| From: | Manuel Lemos | Date: | Sun, 06 May 2001 16:39:48 +0000 |
| Subject: | Re: simple database extraction problem :( | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51631@lists.php.net to get a copy of this message | ||
Hello Sandeep,
On 03-May-01 20:07:51, you wrote:
>just a quick thing. i've got loads of info in mysql, which i extract
>and then use a "while ($r = mysql_fetch_array($result)) {" to output
>the result.
>the only thing is, because its a loop, all results look the same,
>whereas i want the first row to be displayed differently than the
>next 4.
You may want to try this Query result table display class that you can
sub-class to customize details like row and cell colors and even
highlighting colors (the color that rows switch to when the mouse is over
them).
http://phpclasses.UpperDesign.com/browse.html/package/130
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--