I am trying to write the contents (userid, email, and pw) of the Sign Up form to a text document for Admin purposes (so if someone forgets their password, i can email it to them). I can get the Email field to Print to the text file, no prob...but the other two fields do not work... here is part of my code
open(LAST, ">>$latest") | | die $!;
print LAST "Userid: &in{'userid'}\n";
print LAST "Pass: &in{'pw'}\n";
print LAST "Email: $in{'Email'}\n\n";
die "Error appending to file database.txt $!\n";
close(LAST);
thanks for any help!
open(LAST, ">>$latest") | | die $!;
print LAST "Userid: &in{'userid'}\n";
print LAST "Pass: &in{'pw'}\n";
print LAST "Email: $in{'Email'}\n\n";
die "Error appending to file database.txt $!\n";
close(LAST);
thanks for any help!