Menu
Hi
I am new to php. I am trying to write a message board sort of website using javascript, where I will need to store each message with a rating, and maybe eventually replies/comments. I then need to access the data in order to reload the page.
I was thinking of writing a text file for each message. Then going through all the text files in the folder in order to retrieve all the messages. Is this the best way to do it?
Also, how do I integrate PHP code into my javascript? and if I save twice using the same filename, does it overwrite? and how can I look through a folder, and read all of the files?
Thanks for the help