• Post Reply Bookmark Topic Watch Topic
  • New Topic

Todo Task is not saved in json file through php file

niyati patel
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my html file.

This is my js file ToDoListInProgressjs.js

This is my json file ToDoListInProgressJsonc.json

[{"task":"get milk","done":false},
{"task":"get broccoli","done":false},
{"task":"bring rian","done":false},
{"task":"go to school","done":false},
{"task":"buy milk","done":false}]

This is my php file save.php

What I have tried:

when I refresh the browser page my new task disappears That means task is not saved in Json file...
Please Explain where am I going wrong.
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!