Jump to content

PHP - Update JSON with new user data


lgrand31

Recommended Posts

I am a first time poster and found this site during my research trying to solve my issue. Hope I am doing this correctly. 

Below is my issue:

 

I have a custom PHP module that is utilizing a JSON feed to display data. The JSON feed is refreshed daily. The JSON is populated with API. My issue is how to update the JSON feed when the user makes a change to an item in the array (title, location)?  If the event already exists then I need to check for any updates and update the feed. Any ideas or advice will be greatly appreciated. 

This is an example of what the JSON feed returns:

 

I have a custom PHP module that is utilizing a JSON feed to display events. The JSON feed is refreshed daily. My issue is how to update the JSON feed? If the event does not already exist I need to create the event. If the event already exists then I need to check for any updates and update the feed. Any ideas or advice will be greatly appreciated.

This is an example of what the JSON feed return

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.