Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 8th, 2004, 12:02 PM
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help - Dynamic Pop-down lists

Hello,

I have a task to do using PHP, Javascript, HTML and Oracle.

I have two pop-down lists, for the first list the value comes from Oracle database using PHP. Now depending on the value selected in the first list, the second list will have more information about that particular value. For e.g. If my first list has 'USA','INDIA',,'CHINA' as the choices and a user selects 'USA' the second list will give states of USA , if a user selects 'INDIA' the second list will give states of INDIA.

The states will be stored in Oracle. Can someone please tell me how to do this?
Only using Javascript I knw, but thn when the value comes from database in PHP how can I do this?

Any help is highly appreciated.
Thanks,






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with dynamic drop down lists MarkGT Classic ASP Basics 3 April 29th, 2008 06:05 PM
How to do an image pop-up from a dynamic page Nostromo77 ASP.NET 2.0 Basics 1 March 24th, 2007 06:24 PM
Dynamic checkbox and radiobutton lists Ric_H C# 1 April 5th, 2006 05:04 AM
Dynamic checkbox and radiobutton lists Ric_H General .NET 2 March 30th, 2006 01:52 PM
Dynamic check boxes and select lists bsheridan Classic ASP Basics 1 March 17th, 2006 05:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.