") {
$select = "";
}
}
$select .= "\n";
return $select;
}
// -Original Message-
// From: B.J.Rumsey [mailto:[EMAIL PROTECTED]]
// Sent: Wednesday, 30 January 2002 2:30 PM
// To: php-db
// Subject: [PHP-DB] drop dow
ent: Wednesday, January 30, 2002 8:48 AM
Cc: Php-DB
Subject: RE: [PHP-DB] Drop down list
First conect to DB
$result=mysql($DBname,"SELECT * FROM table where 1");
$no=mysql_numrows($result);
$i=0;
$string="";
while ($i<$no){
$string.="".mysql_result($result,$i
drop down menu.
EXO (www.exo.sk)
> > -Original Message-
> > From: B.J.Rumsey [mailto:[EMAIL PROTECTED]]
> > Sent: 30. tammikuuta 2002 10:18
> > To: php-db
> > Subject: [PHP-DB] Drop down list
> >
> >
&
-
From: Piotrek [mailto:[EMAIL PROTECTED]]
Sent: 30. tammikuuta 2002 14:36
To: [EMAIL PROTECTED]; Php-DB
Subject: Re: [PHP-DB] Drop down list
OK. Someone else has already answered the question, so you could shut up
and stop teaching us all how to deal with newbies. This way you'll help
"in a
MAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 12:52 PM
Subject: RE: [PHP-DB] Drop down list
Well, true. :)
There is a but: I think it's stupid to try to get the solution from
others while the information is very easy to find by reading the manual.
This issue is about _very_ basic stu
know. Or again, read some tutorial about it.
Niklas
-Original Message-
From: George Lioumis [mailto:[EMAIL PROTECTED]]
Sent: 30. tammikuuta 2002 11:50
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Drop down list
I think you should be more polite with newbies. If you don't want to
- Original Message -
From: George Lioumis
To: B.J.Rumsey
Sent: Wednesday, January 30, 2002 11:47 AM
Subject: Re: [PHP-DB] Drop down list
Try the following:
";
$res = mysql_query($get_list) or die (mysql_error());
while ($row = mysql_fetch_array($res))
{
$artid= $row["
. tammikuuta 2002 10:18
To: php-db
Subject: [PHP-DB] Drop down list
I have two fields artist_id, artist. How do I put the contents of
"artist" into a dropdown list.
IncrediMail - Email has finally evolved - Click Here
--
PHP Databa
I have two fields artist_id, artist. How do I put the contents
of "artist" into a dropdown list.
IncrediMail - Email has finally evolved - Click
Here
I have two fields artist_id, artist. How do I put the contents of "artist" into a
dropdown list.
--
PHP Database 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 PR
10 matches
Mail list logo