can u guys help me..i still don't understand about the warning and how to fix although i look all the solution
    <php
    $hostname = "localhost";
    $database= "doctor";
    $username = "root";
    $password = "";
    $doktor = mysql_pconnect($hostname, $username, $password) or 
    trigger_error(mysql_error(),E_USER_ERROR); 
    $IdCountry = isset($_POST['IdCountry']);
    $Country= isset($_POST['Country']);
    $result = mysql_query("SELECT * FROM warganegara WHERE IdWarga  = '$IdWarga'");
if(mysql_num_rows($result) >0){
while ($test = mysql_fetch_array($result) or die (mysql_error())){
}
    if (!$result) 
    {
    die("Error: Data not found..");
    }
    $Country=$test['Country'] ;
    if(isset($_POST['save']))
    {
    $Country_save = $_POST['ctry'];
    mysql_query("UPDATE country SET Country='$Country_save' WHERE IdCountry = '$IdCountry'")
    or die(mysql_error()); 
    echo "Saved!";
    header("Location: index.php");  
    }
    mysql_close($doctor);
    ?>
the question have been answer n thanks guys..but now the i can edit anything because the textfield come out with nothing although i click the edit for certain country
 
     
    