Code: Select all
$nuObject->title = trim(preg_replace("/[^0-9a-zA-Z _]/", "", $R->sbr_title));
Code: Select all
$nuObject->title = trim(preg_replace("/[^0-9a-zA-ZÑñáéíóúÁÉÍÓÚüÜ _]/", "", $R->sbr_title));
Code: Select all
$h .= "
<html>
<head>
<meta http-equiv='Content-type' content='text/html;charset=UTF-8'>
<style>
table {border-width:1px;border-style:solid;border-color:grey}
tr {border-width:1px;border-style:solid;border-color:grey}
th {border-width:1px;border-style:solid;border-color:grey;background-color:lightgrey}
td {border-width:1px;border-style:solid;border-color:grey}
.id {border-width:0px;border-style:none;width:1px;font-size:0px}
$style
</style>
</head>
<body>
$table
</body>
</html>
Kind regards