|
Kasutajainfo muutmine
Kasutajainfo muutmine õnnestus\n");
}
if(isset($errors) && !empty($errors))
{
print("\n");
foreach($errors as $error)
{
print("Viga: ".$error." \n");
}
print(" \n");
}
$result = @mysql_query("SELECT * FROM Users WHERE user_id='$_SESSION[user_id]'");
while($row = mysql_fetch_array($result))
{
$username = $row["username"];
$school_id = $row["school_id"];
$description = $row["description"];
$email = $row["email"];
$level = $row["level"];
}
$result = @mysql_query("SELECT * FROM Schools WHERE school_id='$school_id'");
while($row = mysql_fetch_array($result))
{
$school_name = $row["school_name"];
}
?>
|