PHP-sandbox to read sql table, enquiry external API and then update back to sql table #579
Unanswered
sam8881998
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have an application to read the enquiry external API Json by reading SQL table, and then decode the result in Json file and store it back to SQL table:
Settings:
It will return the json file
select cntr from tableA where year = 2024;
json file will be like:
[
"detail": {"cntr":"1234",
"size":"10"},
"detail": {"cntr":"4343",
"size":"20"},
"detail": {"cntr":"1353",
"size":"30"}
]
Logic:
update the size and detail where cntr = cntr from json file.
Can I use one or more PHP-sandbox to complete the task?
Please help.
Thanks and Best Regards,
Samuel
All reactions