Hallo hustieboy,
ich moechte, nach erfolgreicher user-eingabe saemtliche in
dem: $_POST['ARRAY'] gespeicherten variablen auf leer
setzen.
Wozu?
$_POST['email'] = "";
$_POST['login_name'] = "";
$_POST['user_password_1'] = "";
$_POST['user_password_2'] = "";
Sehr umstaendlich ;)
dachte mir das mit "foreach" zu machen, aber das wird so
wie ichs mache wohl nix:foreach($_POST as $post)
$post = "";
Aus http://de.php.net/foreach:
|There are two syntaxes; the second is a minor but useful
|extension of the first:
|
|foreach (array_expression as $value) statement
|foreach (array_expression as $key => $value) statement
Besser waere also folgendes Statement:
foreach($_POST as $field => $value) {
unset($_POST[$field]);
}
Alternativ:
$_POST = Array();
oder
unset($_POST);
Gruesse,
CK
http://cforum.teamone.de/
http://wishlist.tetekum.de/
If God had meant for us to be in the Army, we would have been born with green, baggy skin.