Okay I know this has been answered before (Execute PHP script on same page after selecting a dropdown list option using Ajax or JavaScript) but the answers weren\'t very hel
Check this simple tutorial Hope this will help.
Person info will be listed here...
The getuser.php file
Firstname
Lastname
Age
Hometown
Job
";
while($row = mysqli_fetch_array($result)) {
echo "";
echo "" . $row['FirstName'] . " ";
echo "" . $row['LastName'] . " ";
echo "" . $row['Age'] . " ";
echo "" . $row['Hometown'] . " ";
echo "" . $row['Job'] . " ";
echo " ";
}
echo "";
mysqli_close($con);
?>