<?php
header('Content-Type: application/json');
include "dbc.php";
$data = array(
'html' => '<div class="new">'.echo $res.'</div>'
);
echo json_encode($data);
?>
<?php
header('Content-Type: application/json');
$res = '..';
$data = array(
'html' => '<div class="new">'.$res.'</div>'
);
echo json_encode($data);