Jump to content


Photo

Create txt file


  • Please log in to reply
1 reply to this topic

#1 Darkred

Darkred
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 20 March 2017 - 10:14 AM

Hi there, i'm need some help. I want to create a .txt file at admin page and save it into database. then I call the txt file to be view on my user page and at the same time the user able to edit the text. could you please help me. I don't know where to start.



#2 requinix

requinix
  • Administrators
  • Confusing Administrator
  • 8,348 posts
  • LocationWA

Posted 20 March 2017 - 10:34 AM

Moved. Maybe if I make the warning scroll too...

Making a text file and putting it in a database doesn't make sense. Just put stuff into the database. You can have your PHP get what's there, allow for editing, and have it put the new version back.

Don't know where to start at all? No offense but Google is probably your best bet. You're the one who knows how you learn best, be that tutorials or videos or online courses or whatever. Look for stuff that involves "PDO".




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users