Minu VIKO :
 

Kasutajainfo muutmine

Viga: $error

\n"); } elseif(isset($changeok)){ print("

Kasutajainfo muutmine õnnestus

\n"); } $result = @mysql_query("SELECT * FROM Users WHERE user_id='$_SESSION[user_id]'"); while($row = mysql_fetch_array($result)){ $username = $row["username"]; $firstname = $row["firstname"]; $lastname = $row["lastname"]; $school_id = $row["school_id"]; $description = $row["description"]; $email = $row["email"]; } $result = @mysql_query("SELECT * FROM Schools WHERE school_id='$school_id'"); while($row = mysql_fetch_array($result)){ $school_name = $row["school_name"]; } ?>
Nimi
Kasutajanimi
Kool
Kirjeldus
Email