Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Filling in PHP filter_list
Author
Message
Filling in PHP #1
How to write data
Steps
1. make file or open file.
2. write data in file.
3. close the file.

open notepad, file name = datawrite.php
Code:
<?php
$f=fopen("text.txt","w")  [color=#FFA500] // here create file, & w for writing//[/color]
fwrite($f,"Thank to Allah"); [color=#FFA500]// fwrite for writing data in file//[/color]
fwrite($f,"Its Too Much Easy");
echo"<h1> Check file Data is Written </h1>
fclose($f);[color=#DAA520] //close the file //[/color]
?>

Reply







Users browsing this thread: 1 Guest(s)