Hi,
I want to add one "Save Button" on web page.I am working on ".cgi" program and using "sql server 2000" database.Datas are retrieving from the database and displayed as on html page(datas are student records (i.e) marks,grade etc).In that displayed page,i want to add "save button".By clicking save,it should automatically saved as "text file(nodepad)" in our local system.Please help me

regards,
santhanalakshmi.

Save the html page or the data only?

Save the html page or the data only?

I want to save the data only on my system as a text file..........

generic example:

open(my $FH, ">", 'path/to/file.txt') or die "$!";
print $FH "your data\n";
close $FH;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.