Ask Your Question
3

Does JSON encode fail to retrieve data from the database?

asked 2022-12-06 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-01-07 18:00:00 +0000

bukephalos gravatar image

No, JSON encode is a method used to convert data from a PHP array or object into a JSON string. It is not responsible for retrieving data from the database. The retrieval of data from a database is done through SQL queries, and the data can then be formatted and encoded into JSON using JSON encode.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-12-06 11:00:00 +0000

Seen: 18 times

Last updated: Jan 07 '22