php - Get a value from a echo json_encode -


I have to echo json_encode ($ return); In a model file using Codeigniter

In addition, I need to get a value from echo in the controller file that calls this model.

Is this possible? How can this be done?

Thanks in advance

Try it out: < Code> echo json_encode (array ("name" => gt; "test"));



Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -