Skip to content

Escape HTML characters in datagrid

In data.php, replace the following

$data[] = $row[$col_name];    

with

$data[] = htmlspecialchars($row[$col_name]);  

Feedback and Knowledge Base