kellypayton
MIS
Hey,
I use this enter the info I need into my flatfile
&send_error("UT OH I SCREWED UP!.") unless (open GFILE, ">>$config{'basepath'}/games/gamers.txt");
print GFILE "$gamer\n";
close GFILE;
$gamer contains a players name that came from a form just incase you needed that info. How can I check if the gamers name is already in the database and if it is then delete it from the database then add the name at the bottom of the list like it was going too, please??
I use this enter the info I need into my flatfile
&send_error("UT OH I SCREWED UP!.") unless (open GFILE, ">>$config{'basepath'}/games/gamers.txt");
print GFILE "$gamer\n";
close GFILE;
$gamer contains a players name that came from a form just incase you needed that info. How can I check if the gamers name is already in the database and if it is then delete it from the database then add the name at the bottom of the list like it was going too, please??