<form action="podaci.php" method="post" name="nalozi" id="ApplicationForm">
<label for="username">Korisničko ime:</label>
<input id="username" type="text" name="username" value="" class="Input" maxlength="8" />
....
<input name="posalji" type="submit" id="posalji" value="Upiši odgovore u bazu" class="dugme">
</form>
ali se nista sem rb i emaila ne upise.
<?
$email = $_POST['username']."@mojdomen.com";
$conn = mysql_connect(localhost, root, blabla, blabla) or
die("Could not connect: " . mysql_error());
mysql_select_db(blabla);
$nalozi = "INSERT INTO studenti (rb, username, password, lastname, firstname, email, prosek, stat1, stat2, metod, racunar, spss, termin1, termin2) VALUES('', '$username', '$password', '$lastname', '$firstname', '$email', '$prosek', '$stat1', '$stat2', '$metod', '$racunar', '$spss', '$termin1', '$termin2')";
$result = mysql_query($nalozi, $conn);
mysql_close();
?>
U cemu gresim???