
enhost
Deleted
Jan 23, 2000, 5:39 AM
Post #1 of 5
(1599 views)
|
|
Database Question
|
Can't Post
|
|
Ok.. I have a program that writes a flatfile database using : as a delemiter. Now I have a form where a user types in all their info.. if they have a checking account it writes it into a sepearate database. Now what I need to do is have a HTML form were a user can type in their checking account information AGAIN and compare it with whats is in the database. If what they type in does not match EXACTLY then I need it to delete that line out of the database file, basicly I need to create a Check Authorization script. Below is some code I'm using to open the database.. but I don't know how I would compare it.. and if anything don't match exactly how I would go about deleting just that one line out of the database file. <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> # Open and Read CheckAuth Database # open (CKAUTH, "$checkauthlocation"); while (<CKAUTH> ) { chop; ($bankname, $actnumber, $rtnumber) = split(/:/,$_,3) ; $bankname{$bankname} = $banknamefinal; $actnumber{$actnumber} = $account_number; $rtnumber($rtnumber) = $routing_number; } close(CKAUTH); </pre><HR></BLOCKQUOTE> If anybody has any ideas or code.. Any help would be appreciated.. thank you.
|