PHP problem

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
gupta4net
Forum Newbie
Posts: 2
Joined: Thu Nov 17, 2005 2:58 am

PHP problem

Post by gupta4net »

My problem is :


When I select a Selection control from page, the rest of the details should automatically changed.

For example:

When one selects a Country name from the list [Selection Box]

The values of the State name should automatically be fatched from
the database.

------------------------------------------------------------------------------------

Note : I am useing MySQL as database and PHP as Script language...

-------------------------------------------------------------------------------------

Please reply me as soon as possible...

Thank you...
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

look into javascript for automatic <select> generation or $_GET for passing information from page to page to generate selects on a step-by-step basis
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

viewtopic.php?t=29084

this is a good tutorial written for just this occasion. if you have questions after reading that then please let us know
Post Reply