Handling ConboBox event at server-side

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zia
Forum Newbie
Posts: 9
Joined: Fri Jan 03, 2003 3:51 am

Handling ConboBox event at server-side

Post by zia »

Dear Members,

I am working with PHP (4.3) and MySQL (3.23.54) on Windows 2000. That I wish to achieve is - when a user will select an option from a combo box some other elements (like, text box, radio button or another combo box) on the form will be filled up automatically by the corresponding values stored in the database. As PHP works on the server side I would like to assist PHP to do this by the help of another kind of scripting language. Please show me the way.

ZIA
lostboy
Forum Contributor
Posts: 329
Joined: Mon Dec 30, 2002 8:12 pm
Location: toronto,canada

two ways of doing this

Post by lostboy »

one is to submit the form and run a query to place the other values in the page....

the other is to send all data down to the client and use client side javascript to make this go...
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Take a look at this thread viewtopic.php?t=6294

It deals with exactly your problem 8)
Post Reply