/    Sign up×
Community /Pin to ProfileBookmark

Help needed with selection box

Hi I wonder if anybody could pls. help me.

I have a selection box “A” with 15 selections. I need to use the selection I make in this selection box “A” to select data that is displayed in selection box “B” from my database.

How do I set the selection maid in box “A” = to a veriable $league (PHP).
Meaning where or in what is the selection in box “A” stored.

Do I make sence?

Pls. Help

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@jalarieAug 10.2006 — As I understand it, PHP runs on the server before the web page is displayed for the user. At the moment the user picks an item from your select box, the server is currently out of the picture and you would need a client-side way to do something.

You can pick up the selection in Javascript by using the selectedIndex item.
×

Success!

Help @gogelpot spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...