Das ist aber kein Java
PHP-Code:
// Kontostand abfragen
$kontodaten = mysql_fetch_array(db_query("SELECT kontostand FROM ".$db_prefix."_kontodaten WHERE uid=".$_SESSION['uid']." LIMIT 1"));
head("Formular");
if ($kontodaten['kontostand'] >= '5000000') {
echo'<form method="post" action="" name="form">';
echo'<input type="radio" name="form1" value="form1"> Formular 1<br />
<input size="20" maxlength="20" name="form" value=""><br />
<input size="20" maxlength="20" name="form" value=""><br />
<input size="20" maxlength="20" name="form" value=""><br />';
// <input etc...
echo'<input type="radio" name="form2" value="form2"> Formular 2<br />
<input size="20" maxlength="20" name="form" value=""><br />
<input size="20" maxlength="20" name="form" value=""><br />
<input size="20" maxlength="20" name="form" value=""><br />';
// <input etc...
echo'<br /><input type="submit" name="update" value="Absenden"></form>';
} else {
echo'Nicht genug Lose'; // Fehlermeldung
}
foot();
Sowas?