possible to populate combobox in PHP without reloading page?

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
jeephp
Forum Newbie
Posts: 16
Joined: Sat Apr 23, 2005 4:42 am

possible to populate combobox in PHP without reloading page?

Post by jeephp »

Hello!

is it possible to populate the comboxbox in PHP without reloading the

entire page?

we have three combo boxes the values of second combobox is populated from

database according to selected item in first combobox but I don't need to

regresh entire page !!

Thanks!
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

using php it's not possible as the information must be gathered from the server as it is a server side language.

you could use javascript to populate your second drop down, or xmlhttp (still javascript, but fetches new info from the server).
Post Reply