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

 
 

Share on Google+Share on Google+
User of fflush() function in PHP, fflush php, fflush in php
Posted on: September 21, 2009 at 12:00 AM
Advertisement
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);

?>

 

Advertisement

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


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 21, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com