How to extract the data from this function?
Really thanks. Can some1 fix it
PHP:
function createCell($description, $value) {
return '<li class="d3-color-blue"><p style="color:#6969FF;"><span class="value">+ '.$value.'</span>'.$description.'</p></li>';
}
function createRow($datar) {
$html = '';
foreach($datar as $key => $value) {
$html .= createCell($key, $value);
}
return $datar;
}
Really thanks. Can some1 fix it