Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Todo Task is not saved in json file through php file  RSS feed

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.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!