473,322 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How do I use a pull-down menu with PHP? Or can I?

Is there a way for PHP to see what is selected in a pull-down menu. So
that i can use a switch statement to display certain information. If
not how can I combine javascript with it to work.
Jul 17 '05 #1
1 1749
JAS
Phillip Russell wrote:
Is there a way for PHP to see what is selected in a pull-down menu. So
that i can use a switch statement to display certain information. If
not how can I combine javascript with it to work.


If you talking about a pull-down menu in a regular form then sure.
Create your form, send the content to a page and then use $_POST or
$_GET variables (depending on your form) to retrieve the value ...

http://us2.php.net/manual/en/reserve...variables.post

J
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Richard T. Cunningham | last post by:
I've been using two instances of substr to pull an IP address out of a string. I know there's a more efficient way. Anyone? The string is like this: HOST 61.2.135.45 blocked. Richard
2
by: Terry Milan | last post by:
I have recently started looking at the StAX parsing technology. It appears that this is a JSR that is in its final release process, but won't be finalized until sometime this fall. Do you know of...
5
by: Julia Baresch | last post by:
Hi everyone, I haven't found any reference to this problem on this group or in Access 97 help. I hope someone here knows this - probably a simple thing, but not obvious. I designed a query to...
5
by: kuljitsingh | last post by:
I remember making a client/server application using Java and CORBA where the server was pushing any change data to all the clients. I have not ventured the same area in C#. Is there a way to...
1
by: richardkreidl | last post by:
Here is my Combobx code: Private Sub cboTo_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboTo.SelectedIndexChanged Dim Target As String Dim Value As...
4
by: sparks | last post by:
We have a new project here, one that I have never tried maybe its easy I don't know yet. We have people that have records dating back over 5 yrs on a sql server. We have to build an access 2003...
1
by: beginner4e | last post by:
hi guys, I am trying to pull up some user information from the command prompt using VB. I read a lot about using the shell function and so on and so forth, but I don't really know how to start it....
4
by: itcassy | last post by:
I would like to pull a random or alphabetical result on the home page of a site and leave that same result on there for one week. The closest example I have found online is Random Quote Version...
3
by: chauser | last post by:
I have a query that is supposed to pull data from the table based on the unit that is selected from a combo box on a form. I have the query pulling a specific unit but I want the user to be able to...
3
by: Baron Samedi | last post by:
I am looking for a reliable cross-browser pull-quote solution in CSS. See for instance, http://www.sitepoint.com/examples/pullquotes/ The problem seems at first to be sure that it functions...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.