withStringBody(json_encode($result)); You can study and learn programming as you wish in the content of this website. ">
 

Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

return $this->response->withType("application/json")->withStringBody(json_encode($result));

return $this->response->withType("application/json")->withStringBody(json_encode($result));


pure array
 
PREVIOUS NEXT
Tagged: #return
ADD COMMENT
Topic
Name
6+5 =