Home Tutorial Php Phpfiles User of fflush() function in PHP, fflush php, fflush in php

 
 

User of fflush() function in PHP, fflush php, fflush in php
Posted on: September 21, 2009 at 12:00 AM
In the example code we will learn the use of fflush()function in PHP Program.

Example of fflush() function in PHP

The ffush() function is used to write all the buffered data to the an open file. 

Syntax of fflush() function in PHP

fflush(file) 

Code for fflush() function in PHP

<?php

$file1=fopen("c:/rose1/ram.txt","r");

//some file updation code

//finally update the data into file using the fflush() function

fflush($file1);

?>

 

Related Tags for User of fflush() function in PHP, fflush php, fflush in php:


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.