Van: "Andrey Hristov" <[EMAIL PROTECTED]>
Aan: <[EMAIL PROTECTED]>
Datum verz. Thu, 23 Aug 2001 18:33:53 +0300
Onderwerp: Re: [PHP] always last
> Use a counter when fetching from the DB
> if you use while the
> $counter=0;
> while(list(...)=mysql_fetch_array($res)){
> $option_block .= '<option '.(($counter==0)? '
> selected':'').'>'.$option.'</option>';
> }
How then would he find the team back?
--------------------------------------------------------------------
-- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands --
--------------------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]