How to get menu content and save it to text file

Avatar

By Elena 14 May 2017 12:26

Member · 3 comments

Whats the php code snippet to get specifig div or ul content from live site and automatically save it to text file, like menu.txt or something?.
The savet text file should be raw, like it has all the markup li href etc.
I need to save forum menu to text file so i can use jquery to include that in my index page which is plain html page.

Last edited by Elena (6 April 2019 20:25)