+ 2
Create file and put contents in file [php]
Hi guys How are you? in this Note i want to learn you how to create a file and write content to file in php . <?php $Mobin = fopen('mobin.html ' , 'w+'); $Askary = "The best scripter and developer" fwrite($Mobin , $Askary); fclose($Mobin); ?> i was create the file and put contents to file. fopen: for create , read , write ... in file fwrite: for write the contents to file fclose: for close the file Tnks. Please follow Me and like.
2 odpowiedzi
+ 2
Hello Kuba.
i know but the 90% of users watch Q&A
+ 6
Hello Mobin_Askary, this is a Q&A section - people ask questions and have them answered here.
However, Sololearn supports user-built lessons, so please submit your input in the relevant place - the Lesson Factory.