Append

Save Data to Text File in VB6

Submitted by donbermoy on
A text file is considered a plaintext file and Notepad is only capable of creating and editing plaintext files and saves any text file with a .txt file extension. This means no special formatting or different types of fonts can be used. The easiest way to create a text file in Windows is to open up the Notepad software program on your computer. This is a standard program in Microsoft Windows, included with the operating system when installed. Now in this tutorial, we will create a program that can write and save data to text file.

PHP File Handling: File Append

Submitted by joken on
In our previous tutorial we have learned how to open, close, read and write to a file. However, the ways which we wrote to a file so far have caused data that was stored in the file to be deleted. So in this lesson we’re going to deal on how to append to a file or to add on to the existing data, but we need to open the file in append mode. To start with, this application and if we want to add on to a file we need to open it up in append mode. To do this, let’s create first a new file PHP file called “append.php”.