By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,776 Members | 1,351 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,776 IT Pros & Developers. It's quick & easy.

Drop down select

P: n/a
For the form I need to create drop down select with say five different
options. There also should be possibility to enter own option if one is not
listed. How can I do it.?
Thank you in advance for any hint,
emanuel
Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Nanos wrote:
For the form I need to create drop down select with say five different
options. There also should be possibility to enter own option if one is not
listed. How can I do it.?
Thank you in advance for any hint,
emanuel


This could be construed as an HTML-only question, in which case you are in the
wrong group. Or it could be PHP, but you have not provided us an example of your
attempt at resolving the problem. The web is repleat with example code, this
news group is repleat with example code... so, in this case, I am going to refer
you to 2 resources. Google and << http://www.php.net/en/manual/ >>

If you haven't thought to use either of these 2 resources, I would give serious
reconsideration in continuing in this line of work.

--
Michael Austin.
Consultant - Available.
Donations welcomed. Http://www.firstdbasource.com/donations.html
:)
Jul 17 '05 #2

P: n/a
"Nanos" wrote:
For the form I need to create drop down select with say five different options. There also should be possibility to enter own option if one is not
listed. How can I do it.?
Thank you in advance for any hint,
emanuel


Nanos, I have not seen drop down menus and an optional entry combined.
What I have seen is a drop down menu, and a text box for different
entries. Search on google for "drop down menu" and also for "text
box". You need to create basic drop down menus using html, and then
learn how to use php to dynamically generate them and then how to
process the resulting user input.

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-Drop-sel...ict132812.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=444029
Jul 17 '05 #3

P: n/a
Thank you Steve,
I found some solution - but it is not to elegant. I remember that you
could do it in ColdFusion so I thought that there is some trick also
available in PHP. I know how to create drop down menus and dynamically
populate them from DB - have several production sites running. But looks
like I need to look for different solution - like adding own option through
admin interface.
Thank you anyway for your answer,
Emanuel
"steve" <Us************@dbForumz.com> wrote in message
news:10*************@news.supernews.com...
"Nanos" wrote:
> For the form I need to create drop down select with say five

different
> options. There also should be possibility to enter own option if

one
> is not
> listed. How can I do it.?
> Thank you in advance for any hint,
> emanuel


Nanos, I have not seen drop down menus and an optional entry combined.
What I have seen is a drop down menu, and a text box for different
entries. Search on google for "drop down menu" and also for "text
box". You need to create basic drop down menus using html, and then
learn how to use php to dynamically generate them and then how to
process the resulting user input.

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-Drop-sel...ict132812.html
Visit Topic URL to contact author (reg. req'd). Report abuse:

http://www.dbForumz.com/eform.php?p=444029
Jul 17 '05 #4

P: n/a
Michael,
I know how to look in Google and I know where to find PHP manual. I think
that I described my problem clearly and I know I am in right group. If you
would use Google you would see that there were similar questions asked but
the solutions were not to elegant.
So, I am in right group becouse you can not do it in HTML. And what example
code you need to see (any HTML manual has an example of forms/drop down
boxes listed)?
Looks like you did not understand my questions. But thank you anyway for
great hints :)
Emanuel

"Michael Austin" <ma*****@firstdbasource.com> wrote in message
news:NP******************@newssvr23.news.prodigy.c om...
Nanos wrote:
For the form I need to create drop down select with say five different
options. There also should be possibility to enter own option if one is not listed. How can I do it.?
Thank you in advance for any hint,
emanuel
This could be construed as an HTML-only question, in which case you are in

the wrong group. Or it could be PHP, but you have not provided us an example of your attempt at resolving the problem. The web is repleat with example code, this news group is repleat with example code... so, in this case, I am going to refer you to 2 resources. Google and << http://www.php.net/en/manual/ >>

If you haven't thought to use either of these 2 resources, I would give serious reconsideration in continuing in this line of work.

--
Michael Austin.
Consultant - Available.
Donations welcomed. Http://www.firstdbasource.com/donations.html
:)

Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.