Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more - View Single Post - Displaying value from a Drop Down Menu ( form ) using php ?
View Single Post
Old 06-20-2009, 01:48 PM   #2 (permalink)
sc_king
Junior Member
 
Join Date: May 2009
Posts: 8
Default Re: Displaying value from a Drop Down Menu ( form ) using php ?

Will this form be submitted each time you select a country or do you want changes on the fly?

This will do it on a submission form.

PHP Code:
$country $_POST['countries'];
<
input type="submit" value="submit"
If your doing it on the fly without a submission, you're going to need ajax.


Here's something like what you want.

Changing textbox value from dropdown list using Ajax and PHP
sc_king is offline   Reply With Quote
Sponsored Links