heres a copy (obfuscated) of the code inside the concat label that actually works, but when add some text, everything gets erased
'<div style="max-width:1200px!important;"><div style="float:left;margin:10px 0 10px 0;max-width:520px!important;"><div style="margin:0 10px 0 10px;float:left;width:180px!important;"><div style="font-size:1.2rem;line-height:1.1rem;">',(SELECT CONCAT('<b> ',R.xxxxxxx,'',R.Apellidos,'</b>') FROM databas_xxx_xxxxxxxxxxxxxxxxx R WHERE R.id = {thistable}.xxxxxxx AND R.xxxxxxx !=""),'</div><div style="font-size:1rem;line-height:0.9rem;text-align:right;padding-bottom:10px;">',(SELECT CONCAT('Cumplea?os: ',DAY(R.xxxxx_xxxxxxxxxx),' de ',M.nombre) FROM databas_xxx_xxxxxxxxxxxxxxxxx R,databas_xxx_mes M WHERE R.id = {thistable}.xxxxxxx AND M.id=MONTH(R.xxxxx_xxxxxxxxxx) AND R.xxxxx_xxxxxxxxxx !="0000-00-00"),'</div><div style="font-size:1.2rem;line-height:1.1rem;">',(SELECT CONCAT('<b> ',R.xxxxxxx2,'',R.Apellidos2,'</b>') FROM databas_xxx_xxxxxxxxxxxxxxxxx R WHERE R.id = {thistable}.xxxxxxx AND R.xxxxxxx2 !=""),'</div><div style="font-size:1rem;line-height:0.9rem;text-align:right;padding-bottom:10px;">',(SELECT CONCAT('Cumplea?os: ',DAY(R.Fecha_de_nacimiento2),' de ',M.nombre) FROM databas_xxx_xxxxxxxxxxxxxxxxx R,databas_xxx_mes M WHERE R.id = {thistable}.xxxxxxx AND M.id=MONTH(R.Fecha_de_nacimiento2) AND R.Fecha_de_nacimiento2 !="0000-00-00"),'</div><div>',(SELECT CONCAT('<div style="float:left;"><a href="mailto:',R.Correoe,'" title="Enviar correo a ',R.Correoe,'">...
... and so on until 56829 characters (I can?t copy all here because its too long). Right now I have 177 SELECT querys in total in that field, but I need to add some more.
thanks in advance guys,
best regards