Submit HTML form to .txt file, but how to make new posts appear on top, rather than on the bottom? [duplicate]
Everything works perfectly however there is one thing that I am trying to figure out and I’m not sure how to actually figure this out. On the HTML web form everything works perfectly, on the php page the takes the data that has been submitted is posted on the text file that I specify, but here is where I want to make a change. As of right now if I make a post, the oldest post remains on top where the newest one is at the bottom which is kind of annoying having to scroll all the way to the bottom for the newest post so my question is how can I reverse this so the oldest post is at the bottom an
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.