Yep, it's saving, and only to the txt file
In Reply To:
Go ahead and add the text I gave you earlier for putting the text back into the textarea when you have an "add failure." Test that out, too, to make sure it works.
I did that last night, sorry I forgot to tell you, and it works perfectly.
We're not so fortunate with the rest of the code however, it procuced the following error :
Code:
CGI ERROR
==========================================
Error Message : error in view_record. unable to open text file
/inetpub/wwwroot/txt/2.txt
Reason: No such file or directory
Script Location : C:\Inetpub\wwwroot\cgi-bin\dbman\test\db.cgi
Perl Version : 5.006
Setup File : r.cfg
User ID : admin
Session ID : admin.95882312695994
dispite the error message both directory and file are there, and the paths are correct both in the .cfg file and here in the error message.
btw, Just in case you wonder about the error message, I changed add_record to view_record to easier seperate them from each other.
:water