Append Data to JSON File using PHP

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

a robot calling me friend all the suspicious! maybe you aren`t my friend at all, friend!

johola
Автор

Sir, when we take another field ID. how to auto increment id in JSON file.

santhoshkumar-sfbc
Автор

Hello Mr.
How form insert, update, delete data if I use json, php, database MSQL

ditap
Автор

It shows json file does not exist but I created json file in my folder

aishwaryazipare
Автор

Thank you. Can you tell me how to get data to json file from a database?

SashenMe
Автор

What kind of a wacko makes a video then has a robot voice over it?? Awful.

nicholasvane
Автор

Man this would be awesome if it wasnt a robot voice, I cant take it.

unrecited
Автор

{
"user":[
{
"name": "ratul Ahmade",
"Gender": "male",
"designation": "Student"
},
{
"name": "ratul Ahmade",
"Gender": "male",
"designation": "Student"
},

]
}




I want like this layout . how can i do? I tried . But failed. I'm very new with json with php

eyaminhossin
Автор

After successful apend data into json i want to show data into text field please give me solution Sir

erimranhaque
Автор

Hey thanks for the tutorial, the code seems to work good, but nothing get's appended to my json file. Any help would be much appreciated.
Also why is your $_POST['name'] in single quote and $_POST["gender"], $_POST["designation"] in double quotes?

pushkarsaraf
Автор

great info and example but that robit voice ruined it

shawnparania
Автор

Thanks for this code project, Sir would u plz tell me how the data will store as line by line break up with some spaces, so that we can read that file properly, actually it is saving in a long row line.

StarMedia
Автор

The masterpiece for beginner..! Thanks webslesson for super guide..! 👍

LaxmikantBhumkar
Автор

Take a shot everytime he says "friends"

adam_varela
Автор

Some idea how to make json file like this?
{

"custom": [{
"name": "name1",
"gender": "M",
"designation": "1"
},
{
"name": "name2",
"gender": "M",
"designation": "2"
},
{
"name": "name3",
"gender": "F",
"designation": "3"
}]
}

maciejbis
Автор

i have an json object
[{"ID":"1", "name":"Jon", "age":"10"}, {"ID":"2", "name":"doe", "age":"15"}]
I want to Append value if not exist.
Could you tell me, How to check if value exist or not...
I tried in_array but not works

RK-uymt
Автор

Can we write the json on the beginning when ever I add data it should be in top

kiranjc
Автор

it work thanks ...


but how to make the data+the new data displayed also on the below of input form using ajax? thank you

agungwidinugroho
Автор

Can you make a follow up video for this, but make it so that the input form and the full data (after it got appended) are shown in the same page, withoit reloading the page(ajax)?

agungwidi
Автор

Sir, how to update and delete operation on JSON file without using database

santhoshkumar-sfbc