Save PHP variables to a text file

后端 未结 7 1578
梦如初夏
梦如初夏 2020-11-29 00:59

I was wondering how to save PHP variables to a txt file and then retrieve them again.

Example:

There is an input box, after submitted the stuff that was writ

7条回答
  •  庸人自扰
    2020-11-29 01:33

    for_example, you have anyFile.php, and there is written $any_variable='hi Frank';

    to change that variable to hi Jack, use like the following code:

    
    

提交回复
热议问题