I\'m sort of experienced with PHP and MySQL so I kind of get the hang of things, however I\'m sort of trying to get something that may be over my level (not really sure the diff
Create a div and give it a id="result"
and put an empty select tag in that div.
Then using jQuery + Ajax, get the second dropdown using:
$('select[name="user"]').change(function(){
var user = $(this).val();
$.ajax({
type:'post',
url:'getSecondDropDown.php',
data:'user='+user,
success:function(result){
$('div#result').html(result);
}
});
});
In your 'getSecondDropDown.php' file, include this: