• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
niyati patel
Greenhorn
Posts: 1
jQuery
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!