Can someone please take a quick look at this function? It's returning the unedited array -- not the one properly encoded. Also, should I be doing anything else to this data to properly display it as html, or store it into a mysql database?
Thanks much,
Andrew
andrew_pasetti@harvard.edu
function cleanHTML($html) {
foreach ($html as $field) {
$field = nl2br(htmlspecialchars($field));
}
return $html;
} # END function cleanHTML