|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
drop down menu
I'm new to php and html and I made a php file where it gets the data from a form and puts it into a database. But how do I now make a drop down field with 2 things to choose from?
|
|
#2
|
|||
|
|||
|
RE: drop down menu
try if this fits your needs:
Code:
<html> <body> <form method="POST" action="script where it should post to"> <p><select size="1" name="select"> <option>option1</option> <option>option2</option> </select></p> <p><input type="submit" value="Submit" name="submit"></p> </form> </body> </html> |
|
#3
|
|||
|
|||
|
RE: drop down menu
And how do I make more then 2?
|
|
#4
|
|||
|
|||
|
RE: drop down menu
if you meen more that 2 options you just put another
<option>option_name</option> under the other option. that does the job then. But i would really advise you to learn the basics of html first and look at some tutorial of html. |
|
#5
|
|||
|
|||
|
RE: drop down menu
ok can you tell me where to find tutorial?
|
|
#6
|
|||
|
|||
|
RE: drop down menu
try
http://www.davesite.com/webstation/html/ that's a very good tutorial, if you need more just google it. But make sure to do all the points in the tutorial, then you will be able to use html |
|
#7
|
|||
|
|||
|
RE: drop down menu
Quote:
Do you have the problem how to automatically generate the list box with selected data from database table? |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > drop down menu |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|