Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Sending HTML Code Through JSON

$html_content="<p>hello this is sample text</p>";
$json_array=array(
'html_content'=>$html_content
);
echo json_encode($json_array);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Sending #HTML #Code #Through #JSON
ADD COMMENT
Topic
Name
6+8 =