Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Edinburgh, UK
    Posts
    402
    Thanks
    2
    Thanked 1 Time in 1 Post

    Writing to and from a text file

    I'm currently building a website for a sports team, whom are in a league. I want to know if it's possible using HTML and JavaScript to use a page with a form where i could add the scores and fixtures dates etc to a text file, and then use this text file to put a table on another page displaying all the information in the file?

    I'm not entirely sure that that just made sense, so if not write a reply saying it didn't and i'll try and explain more clearly.

    Many thanks in advance
    Rich

    "An expert is a person who has made all the mistakes that can be made in a very narrow field."

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    626
    Thanks
    0
    Thanked 0 Times in 0 Posts
    JavaScript cannot read from nor write to files. You will need to use a Server Side language such as PHP or Perl to perform that function.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •