Answer the question
In order to leave comments, you need to log in
How to change value in JSON php?
The JSON looks like this:
{"messages_dike":[{"id_message":"17","who_sent":"qwerty","who_get":"krakozybra","message_text":"THIS TEXT SHOULD BE CHANGED","message_type" :"1","message_datetime":"0000-00-00 00:00:00"}]}
After the change it should be:
{"messages_dike":[{"id_message":"17","who_sent":"79197762070 ","who_get":"79067092065","message_text":"OTHER VALUE","message_type":"1","message_datetime":"0000-00-00 00:00:00"}]}
Answer the question
In order to leave comments, you need to log in
json_decode($json, true)
, change the resulting regular php array, json_encode
back. What problems?
You can still go hardcore str_replace
, but it's better not to.
Kranty to her. Almost all nvidia chips (graphics, chipset) from 2006-2008 have a defect, over time funny glitches begin due to chip peeling from the substrate during heating-cooling.
Repair is only a replacement for new chips, released after 2009 and it is not practical.
It looks like a memory problem.
Try manually changing the driver to the "Microsoft Basic Video Adapter" - artifacts, judging by your words, will go away and will not warm up. Will last in this mode for a long time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question