Skip to content
Advertisement

Tag: json

How to filter expanded datasets in json URL?

I am trying to filter results in my json URL’s expanded dataset. I can filter the regular data just fine but I am having issues reaching the expanded data which is being returned as a nested array (I believe). For example I use this url to filter and only display the city Austin: I am able to expand this dataset

Output PHP already encode to json, and send to javascript to be json, not working

I’m do output with json_encode to sending to javascript, with this code. so output show like this, [{“id”:”121353568″,”name”:”Baju Casual – Black”},{“id”:”556903232″,”name”:”Tas LV – Red”},{“id”:”795953280″,”name”:”Sword – Wood”},{“id”:”834032960″,”name”:”Scooter – Iron Plate”}] and code javascript like this so obj.id its not working, output show undifined. Answer I use ajax calls when I want to call a Php file and get a response from

Problem modifying JSON config file inside a container (PHP)

I have a problem modifying a JSON config file within a PHP7.4 container. Im supposed to be able to configure an HTTP GET request to make adjustments to this config file. Ive ran the code on a PHP test server, with no issues, but cant seem to get the file permissions modified within the container. Ive added the line RUN

Check if data is in array in PHP [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 months ago. Improve this question Using Codeigniter 3 I need to compare two json object. To explain better, below the json data I have to

Change JSON value in database with PHP

I have a params column in my MySQL database containing this: ‘{“usergroup” : “1”, “language” : “ENG”}’; . Can I change only the language value ENG to GER in just 1 step using a standard PDO update? Obviously, I could just SELECT the whole content of my table cell ‘{“usergroup” : “1”, “language” : “ENG”}’; , decode it with json_decode,

PHP/MariaDB On Duplicate Key Update with nested JSON array

So this one is fun. I’m integrating a 3rd party POS into my custom inventory management software I made for this client some time ago. My system is a basic PHP/HTML/JS background. I have webhooks from the 3rd party system sending my site JSON information about product info and stock details. The issue I have is that when we update

I can’t generate the correct Json file in PHP

it does not work properly please help me to get the correct json file? in particular when I inserted it in the site in php I got this array so the Json file creates it correctly this is the first array I generate via submit of my form. this array I add it to the end of the Json file,

Advertisement