Re: simple database extraction problem :(
| From: | Phillip Bow | Date: | Fri, 04 May 2001 00:05:18 +0000 |
| Subject: | Re: simple database extraction problem :( | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51351@lists.php.net to get a copy of this message | ||
Clue = "Nested Loops"
--
phill
"Sandeep Hundal" <sandeep_wde@yahoo.com> wrote in message
news:20010503230938.6502.qmail@web3906.mail.yahoo.com...
> hi all!
>
> 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.
>
> any clues??
>
> thanks!
>
> /sunny
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>