How to add text at the beginning of TXT header
rocher
rocher 2017-11-15 18:50:00
0
1
1174

As shown in the picture, the guestbook inserts text at the end of TXT every time, and new messages when browsing the web are at the bottom. I want to insert new messages at the beginning of TXT.

Please tell me how to do it.
php.png

rocher
rocher

我骚我浪漫

reply all (1)
路过

If you are reading from the database, just output it in reverse chronological order.

If you implement it with jq, jq has a method of inserting content in front.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!