$value){ $value = strtr($value, get_html_translation_table(HTML_ENTITIES)); $keys .= "'$key', "; $values .= "'".$value."', "; } $keys = substr($keys, 0, -2); $values = substr($values, 0, -2); $sql = "INSERT INTO $table (".$keys.") VALUES (".$values.")"; mysql_query($sql, $con); } mysqlinsert('User', $con, $_POST); $Erg = mysql_affected_rows(); if ($Erg != 1) { echo "error: can't save your data...
(error: ".mysql_error($con).")
"; } else { echo "

transmitted. Thank you for your participation..

\n

"; $SQL2 = "SELECT UID FROM `User` WHERE Nick='". $_POST["Nick"]. "';"; $Erg2 = mysql_query($SQL2, $con); $Data = mysql_fetch_array($Erg2); $SQL3 = "INSERT INTO `UserCVS` (`UID`) VALUES (". $Data["UID"]. ");"; $Erg3 = mysql_query($SQL3, $con); if ($Erg3 != 1) { echo "error: can't save userright...
(".mysql_error($con).")
"; } else { echo "userright was saved...
"; echo "

Your acount was sucsessfull creat, hafe al lot of fun."; } } } if( !isset($error) ){ echo "If you would like to be an chaos angel please insert following details into this form:
"; } else { echo "

\n$error\n

"; } } else { //init vars $_POST["Nick"] = ""; $_POST["Name"] = ""; $_POST["Vorname"] = ""; $_POST["Alter"] = ""; $_POST["Telefon"] = ""; $_POST["DECT"] = ""; $_POST["Handy"] = ""; $_POST["email"] = ""; $_POST["Size"] = ""; $_POST["Art"] = ""; } ?>

Chaos-Angel registration

By completing this form you're registering as a Chaos-Angel. This script will create you an account in the congress angel task system.
nick*"/>
last name"/>
first name"/>
age"/>
phone"/>
DECT"/>
mobile"/>
e-mail*"/>
shirt size*
type of angel
Did you help at former
congresses and which tasks
have you performed then?
password*
password confirm*
 
* entry required!