: [PHP] always last
Hi, I need a little bit of help.
My variable $team in the option block is always set to the last variable that
is readI would like it to contain the option that the user
clicks.Please help me!
My Select works properly
...
$result = @mysql_query
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
Hi, I need a little bit of help.
My variable $team in the option block is always set to the last variable
that is readI would like it to contain the option that the user
clicks.Please help me!
My Select works properly
...
$result = @mysql_query($sql,$connection) or die(Couldn't
On 23 Aug 01, at 11:10, Jeremy Morano wrote:
$result = @mysql_query($sql,$connection) or die(Couldn't execute query.);
while ($row = mysql_fetch_array($result)) {
$uid = $row['uid']
$team = $row['team'];
if ($uid == $row['uid'])
{
$option_block .= option value=\$uid\
4 matches
Mail list logo